Message Stream
Message Stream Device Driver allows Iotellect Server to communicate with devices that send string data over TCP, UDP or Serial ports. Once the Iotellect Server is connected to a device it starts to listen for incoming stream. The stream is split into messages by a specified message separator. Every time a new message is available it passed to processing expression where any behavior can be defined.
Driver Information
Driver Plugin ID: | com.tibbo.linkserver.plugin.device.message-stream |
Global Settings
None defined.
User Level Settings
None defined.
Device Account Properties
Connection Properties
Connection settings define how Iotellect Server communicates with a certain device. These settings may be accessed using the Edit Device Properties action of Device Context. The following connection properties are available:
Property | Description |
Mode | A choice of TCP, UDP and Serial. |
IP address or host name | Address of the device (for TCP/UDP mode). |
Port | Device listening port (for TCP/UDP mode) or name of serial port the device is connected to (for Serial mode). |
Baud Rate | Baud Rate (for Serial mode). |
Incoming Flow Control | Incoming flow control type: None, CTS/RTS, or XON/XOFF (for Serial mode). |
Outgoing Flow Control | Outgoing flow control type: None, CTS/RTS, or XON/XOFF (for Serial mode). |
Data Bits | Serial data bits (for Serial mode). |
Stop Bits | Serial stop bits (for Serial mode). |
Parity | Serial parity (for Serial mode). |
Timeout | Command timeout (default is 5 seconds). |
Message Separator | Incoming message separator |
Processing Expression | Executing expression for the incoming message |
Device Assets
Assets are not supported by the driver.
Device Settings
Message Stream device driver creates two Device setting variables:
Variable Name | Variable Description | Comments |
message | Message | Contains last incoming message (without separator) |
messageStatistics | Message Statistics | Contains the following attributes:
|
Device Operations
No operations provided by the driver.
Device Events
No events provided by the driver.
Connection Handling
This driver makes the device Online if:
TCP, UDP or Serial connection with the device was successfully established
Was this page helpful?