WebSocket Subscribe
Subscribe to the JSON data received by a WebSocket server
Libraries:
Raspberry Pi Blockset /
Network
Description
The WebSocket Subscribe block subscribes to the data received by a WebSocket server identified by an IP address and a port. The received data must be in JavaScript Object Notation (JSON) format, which can be interpreted by a WebSocket client to manipulate the data.
Note
To generate code C/C++ code for this block, you must have an Embedded Coder® license.
WebSocket JSON Data
This figure shows the signals in JSON format with a unique block label.

Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2020a