Skip to content

Workstation Connector updates#11515

Open
katarzyna-koltun-mx wants to merge 4 commits into
developmentfrom
kk-wks-connector
Open

Workstation Connector updates#11515
katarzyna-koltun-mx wants to merge 4 commits into
developmentfrom
kk-wks-connector

Conversation

@katarzyna-koltun-mx

Copy link
Copy Markdown
Collaborator

No description provided.

@katarzyna-koltun-mx katarzyna-koltun-mx self-assigned this Jul 10, 2026
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`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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`.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liamcmitchell I'd like to publish this PR before 4.0, so I'll copy your suggestion into a new PR. Thank you!

@katarzyna-koltun-mx katarzyna-koltun-mx marked this pull request as ready for review July 14, 2026 14:00

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changed now for client and connector from version 4.0 and above. The communication is now handled by one single websocket.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants