Skip to content
Ps

Settings Packet

Added on v1.0.0
TCP
HTTP

Defines the settings packet of the Layrz Protocol, which is used to send configuration settings from the device to the server.

Example Usage

<Ps>UNIX;EXTRA+ARGS;CRC16</Ps>
ParameterTypeDescriptionExample
UNIXfloatUNIX timestamps defined in seconds of the message1753306994
EXTRA+ARGSEXTRA+ARGSThe configuration that you need to send to the server N/A
CRC16integerCyclic Redundancy Check for error checking.1234

Extra Arguments EXTRA+ARGS

PARAMETER1:VALUE1,PARAMETER2:VALUE2,PARAMETER3:VALUE3,PARAMETER4:VALUE4,...
ParameterTypeDescription
PARAMETER1,PARAMETER2,PARAMETER3,PARAMETER4stringName of the parameter to send
VALUE1,VALUE2,VALUE3,VALUE4anyValue of the parameter to send

Example


report.frequency:60,device.name:My Device,fota.enabled:true,mac.address:00_11_22_33_44_55