Workstation Connector updates#11515
Open
katarzyna-koltun-mx wants to merge 4 commits into
Open
Conversation
Comment on lines
+27
to
+33
| #### SendDeviceMessage | ||
|
|
||
| Call `SendDeviceMessage` to send a message to a device. For more information about the supported message syntax, see [Configuring Devices](/mendix-workstation/management-devices/). This action has the following parameters: | ||
|
|
||
| * `device` | ||
| * `message` | ||
|
|
Contributor
There was a problem hiding this comment.
@katarzyna-koltun-mx A new complementary JSA is available in the connector from version 4.0.0.
Suggested doc:
#### SendDeviceRequest
Call `SendDeviceRequest` to send a message to a device and return the response or error. Requires Workstation Client 4 or later and a device that supports requests. For more information about the supported message syntax, see [Configuring Devices](/mendix-workstation/management-devices/). This action has the following parameters:
* `device`
* `message`
Maybe also worth adding a sentence to SendDeviceMessage:
Responses are passed through message callbacks, see `GetCreateDevice` (`onMessage`), `WaitForDeviceMessage` and `SubscribeToDeviceMessages`.
Collaborator
Author
There was a problem hiding this comment.
@liamcmitchell I'd like to publish this PR before 4.0, so I'll copy your suggestion into a new PR. Thank you!
MXLino
reviewed
Jul 15, 2026
|
|
||
| When a client browser or tab instance tries to connect to a device, previously connected browser or tab instances are disconnected from the device. | ||
|
|
||
| The Workstation Connector connects with Workstation Client using a local WebSocket on port 8094. Communication with each configured device uses another WebSocket on port 8095 for the first device, 8096 for the second, and so on, so that the range of ports used is port *8094* to *8094+n*, where *n* is the number of devices you have. Make sure that the Runtime or Admin port of your local development server in Studio Pro (**App Settings** > **Configurations** > **Server**) is not configured on a port greater or equal to 8094. |
Contributor
There was a problem hiding this comment.
This changed now for client and connector from version 4.0 and above. The communication is now handled by one single websocket.
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.