Messages, Synchronize id, Data id – Wavecom W-RCI (Remote Control) V8.7.0 User Manual

Page 62: Length, Count, Wait for client initialization (server, Client), Initialize (server

Advertising
background image

54

TCP/IP Interface

XML SDK V8.7.0 Remote Control Interface

Messages greater than 32,768 Bytes (32 kB) must be split into multiple packages.
Protocol fields

Synchronize ID

Synchronize ID signals the beginning of a new message and has a static value of 0x27832734.

Data ID

Data ID specifies which packages belong to the same message. It has a unique value between 0 and
0xFFFFFFFC. 0xFFFFFFFD - 0xFFFFFFFF are reserved for special messages.

Idle Message (0xFFFFFFFD)

If no messages are received for a while an idle message is sent.

Quit Message (0xFFFFFFFE)

Quits the connection.

Watchdog Message (0xFFFFFFFF)

If no messages are sent for a while a watchdog message is sent.

Length

Length of the data following this field.

Count

Number of packages belonging to a message.

Messages

Data 1

Data 2

4 Bytes

Data

Message ID

Message Data

n Bytes

Data n

Wait for client initialization (Server

Client)

Label

Data

Data Type

Message ID

0x00100000

Data Length

0

Data Content

-


After the client is connected to the server, the server sends the client this message. It tells the client to
initialize itself and send the initialization information to the server.

Initialize (Server

Client)

Label

Data

Data Type

Message ID

0x00100001

Data Length

>28 Bytes

Data Content

connection info
server version major
server version minor
protocol version major
protocol version minor
server build id
length of build date
build date
length of build time

DWORD
BYTE
BYTE
BYTE
BYTE
signed int (32 bit)
DWORD
String
DWORD

Advertising
This manual is related to the following products: