Telemetry over Terminal Socket Based Data Publishing and Subscription Protocol (PSoTT)

\r\n
devID=<string>
subID=<string>
temperature=<string>
humidity=<string>
...
subID=<string>
something=<string>
\r\n

1. SubID, dataX should be unique for current device.

2. devID and subID can’t start with a number. (always start with a letter)

3. DevID should be unique for whole network, all devices should send their unique ID.

4. subID inside the device canbe used to deference or group data.

5. right side of = always should be one of boolean,integer,double

6. structured data should be divided (grouped) into different subID and provided simply, such as:

7. The data push interval should not be less than 1.25 seconds. (recommended 3 seconds for RPi)

8. Example name for temperature field: temperature , name for humidity field: humidity, name for pressure field pressure.

1. temperature
2. humidity
3. pressure
4. lat
5. long
6. ….
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



temperature

pm10