\r\n
devID=<string>
subID=<string>
temperature=<string>
humidity=<string>
...
subID=<string>
something=<string>
\r\n
-
SubID
,dataX
should be unique for current device. -
devID
andsubID
can’t start with a number. (always start with a letter) -
DevID should be unique for whole network, all devices should send their unique ID.
-
subID inside the device canbe used to deference or group data.
-
right side of
=
always should be one ofboolean
,integer
,double
-
structured data should be divided (grouped) into different subID and provided simply, such as:
-
The data push interval should not be less than 1.25 seconds. (recommended 3 seconds for RPi)
-
Example name for temperature field:
temperature
, name for humidity field:humidity
, name for pressure fieldpressure
.temperature
humidity
pressure
lat
long
- ….
exmple: DO:✔️ devID=u01kz subID=gps lat=43.27534 long=76.54367 subID=meteo temperature=39.4 humidity=42.1 subID=status battery=true antenna=true NOT DO:✖️ devID=u01kz subID=01 location=43.27534,76.54367 temperature=39.4 battery=ok antenna=норм gps=1
required fields:
temperature
humidity
pressure
pm25
optional fields:
pm10
lat
long