![YOSensi YO Distance Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/yosensi/yo-distance/yo-distance_user-manual_3510215025.webp)
YO Distance
User guide
v1.2
page 25/27
Payload description
If you want to connect to your own server, it is necessary to decode the specific payload for each
device. To accomplish this, a payload decoder is required, which can be downloaded using the
following link:
. Extended documentation of the protocol can be found in the
on our website. An example payload produced by YO Distance is presented below with
divisions for each measurement and marked with decoded values, whose interpretation is described
in the
Example of YO Distance payload with description:
02:00:00:00:08:00:01:12:88:0d:00:01:00:cd:10:00:00:63:28:00:01:01:2e:41:00:05:00:12:ff:e8:05:
fc
Payload header
First measurement (battery voltage)
0x02
0x00
0x00
0x00
0x08
0x00
0x01
0x12
0x88
ver = 2
cnt = 0
pct [s] = 0
type = 2
prec = 0
md [s] = 0
addr_len = 0
meas_len = 2
val = 4744
(4744 [mV])
Second measurement (temperature)
0x0D
0x00
0x01
0x00
0xCD
type = 3
prec = 1
md [s] = 0
addr_len = 0
meas_len = 2
val = 205
(20,5 [°C])
Third measurement (relative humidity)
0x10
0x00
0x01
0x37
type = 4
prec = 0
md [s] = 0
addr_len = 0
meas_len = 2
val = 99
(99[%])
Fourth measurement(distance)
0x28
0x00
0x01
0x01
0x2E
type = 10
prec = 0
md [s] = 0
addr_len = 0
meas_len = 2
val = 302
(30,2[mm])