Test protocol

Integration level: params + settings
Protocol designed for demonstration and testing purposes. Connection to a channel via this protocol allows emulating interaction between a device and flespi gateway.
flespi parses the Test protocol messages into a JSON object with the fields listed below in the Parameters tab.
channel.id
number
ID of channel that received a message
custom
Any custom parameter
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
ident
string
Device unique identificator and optional password
peer
string
IP:port from which device connecting to the channel
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
Properties
Send custom command
custom
Send command with any parameters using connection to channel

Test protocol by Gurtam used for demonstration and testing purposes.

Connection to channel with given protocol allows to emulate interaction between device and flespi gateway. Connect to the channel's IP:port via telnet-like tool. The following options are available:

  1. set an ident (to emulate device-like interaction connection can be identified with device's unique string)
  2. register messages (emulates registration of up to 1K messages from emulating device)
  3. switch to eсho mode (connection will reply with received data to any incoming message)

Detailed instructions on how to try this protocol available in flespi 10 minutes play guide.