Wialon-combine protocol

Universal binary protocol by Gurtam for personal and vehicle GPS and GLONASS trackers sending data via TCP or UDP.
flespi parses the Wialon-combine protocol messages into a JSON object with the fields listed below in the Parameters tab.

Wialon Combine is a binary communication protocol developed by Gurtam for use in personal or vehicle GPS and GLONASS trackers transmitting data to the monitoring system server via TCP or UDP protocols.

See Wialon Combine specification here.

ain
number
volts
Voltage on the analog input
Record type 9
channel.id
number
ID of channel that received a message
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
din
number
Digital inputs bitmask
Record type 2
dout
number
Digital outputs bitmask
Record type 2
driver.message
string
Driver text message content
Record type 12
gsm.cellid
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) base station ID
Record type 4
gsm.lac
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) location area code
Record type 4
gsm.mcc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) country code
Record type 4
gsm.mnc
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) code
Record type 4
gsm.signal.dbm
number
dbm
Strength of the Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal
Record type 4
gsm.timing.advance
number
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) timing advance
Record type 4
ibutton.code
string
Hexadecimal code of connected iButton
Record type 10
ident
string
Device unique identifier like serial number, IMEI, etc
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
Record type 1
position.direction
number
degrees
Heading angle at position detection moment
Record type 1
position.hdop
number
Horizontal dilution of precision
Record type 1
position.latitude
number
degrees
Latitude coordinate value
Record type 1
position.longitude
number
degrees
Longitude coordinate value
Record type 1
position.satellites
number
Quantity of satellites used to calculate coordinates for given position information
Record type 1
position.speed
number
km/h
Instant speed at position detection moment
Record type 1
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
wifi.mac.address
string
WiFi MAC address
Record type 13
wifi.signal.strength
number
WiFi signal strength, RSSI
Record type 13
Properties
Custom command
custom
Send custom command to device
hex: Payload is encoded as HEX string
payload: Text or hex data to send
Send string 1234
{"payload":"1234"}
Send string 1234 in hex
{"hex":true,"payload":"31323334"}