Sena PS200 Guía de usuario Pagina 53

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 52
53
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 Data(0) Data(1) Data(n)
Bytes 4 Variable Variable Variable
Value F1-AA-AA-BC
Data(n) format
Description Data ID Length Data
Bytes 1 1 Variable
Value 1~6 Variable Variable
Data ID
ID Description Length
1 Device name var
2 Model name var
3 Serial number var
4 MAC address 6
5 IP address 4
6 Local ports* 2 or 4 or 8
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
Vista de pagina 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 67 68

Comentarios a estos manuales

Sin comentarios