Q

Q:About fall Detector,could you send us an example of how those values must be sent?


A:

For example, if I want to send the coordinates for the wall-mounted table and I've got the following values:

X1=-1800

X2=+1800

Y2=3500

height=1600

How would be the string we've got to send?

For the table of coordinate, the data type is 0x42 but please note that rest of data are not string, it's in hexadecimal for format, such as when you receiving the data of 0A 30 F8 D0 07 30 F8 D0 07 F0 0A, the first byte means length of the rest of data, it has ten bytes are followed by length, and the rest of data would be x1(0xf830 = -2000), x2(0x07D0 = 2000), y1(0xf830 = -2000), y2(0x07D0 = 2000), height(0x0af0 = 2800).