UDP is a communication protocol that enables the exchange of messages without prior communications to set up special transmission channels or data paths. It is used for fast, low-overhead data transmission, suitable for real-time applications
The Raw UDP node receives comma-delimited string from devices that are using the User Datagram Protocol (UDP) or Transmission Control Protocol (TCP) through the following server IP address and ports:
- Server IP: 52.169.16.32
- Port: 15000 (UDP) or 16000 (TCP)
Outputs
The UDP node will output each device’s payload in the order that they are received.
How to Use
Implementation
In the Rayven Workflow Builder:
- Select Inputs.
- Drag the Raw UDP node to the canvas.
- Provide an input to the Raw UDP node by connecting it to another node.
- Double click on the Raw UDP node to open the configuration window.
Configuration
Section: General |
||
This section contains basic configuration elements required for any Raw UDP node implementation. |
||
Field |
Requirement |
Comments |
Node Name |
Mandatory |
Enter a name for this node. This provides a handle to which you and others can refer, so it should be simple but meaningful and explain the node’s purpose. |
Unique ID |
Autofilled |
This field is automatically completed. The unique ID must be the first value sent in the comma-delimited string |
Device Code Position |
Mandatory |
Provide the index location of the device ID within the comma-delimited string. For example, if the following data is sent to the Raw UDP node: 3197c239414c23f04e7f8983482dc30786ef,device1,Value A, Value B Then the device ID position must be set as 2. This will ensure that the data extracted will be tied to the device configured in device management configured in Device Management. |
Field Position and Field Name |
Mandatory |
Additional fields can be configured in the UDP node to store the data sent. Each field created will be appended to the output JSON payload as a new key and the value is taken based on the configured position of the comma-delimited string received. For example, if the following data is sent to the Raw UDP node: 3197c239414c23f04e7f8983482dc30786ef,device1,Value A, Value B If position is set to 3 and the field name is set to “json_key”, then the following JSON packet will be created: {“json_key”: “Value A”} |
Activation
Once configured, click the 'Activate' button and then click 'Save'.