Locating Server Communication Protocol - Sena PS100 User Manual

Hellodevice pro series
Table of Contents

Advertisement

5.3.3 Locating server communication protocol

When the HelloDevice Pro Series sends its IP address information to the locating server, data format
will be as follows:
Description
Magic Cookie
Bytes
4
Value
F1-AA-AA-BC
Data(n) format
Description
Data ID
Bytes
1
Value
1~6
Data ID
ID
1
2
3
4
5
6
Note:
Local ports: Each 2 byte data represent current local port setting of the corresponding serial port. Local ports data
length of PS100 should be 2 bytes, while 4 bytes and 8 bytes for PS200 and PS400 respectively. Configured
local TCP (or UDP) port numbers for each serial port are filled with network-order bytes, (i.e. higher bytes first). If
the host mode of a serial port is set to client mode, the local port number is regarded as 0.
Example of the PS100:
If port number = 6001 (1771h), Local ports data = 17h, 71h
If host mode is TCP client, Local port data = 0h, 0h
Example of the PS400:
Port1 = 6001 (1771h), Port2 = 6002 (1772h), Port3 = TCP client, Port4 = 6003(1773h)
Local ports data = 17h, 71h, 17h, 72h, 00h, 00h, 17h, 73h
Data(0)
Variable
Length
1
Variable
Description
Device name
Model name
Serial number
MAC address
IP address
Local ports*
Data(1)
...
Variable
Data
Variable
Variable
Length
var
var
var
6
4
2 or 4 or 8
53
Data(n)
Variable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents