User manual
WI-GTWY-9-xxx Wireless Gateway V1.18
101
Offset: Register:
0 Message ID
1 Message Information
2 Command Number
3 Data Size
4 Extended Word 1
5 Extended Word 2
6 Extended Word 3
7 Extended Word 4
8 Extended Word 5
9 Extended Word 6
10 Extended Word 7
11 Extended Word 8
12 Message Data
:::
(up to
139 256 Bytes)
Message ID
The Message ID register contains a 16-bit integer identifier for the command. When a response is
sent back to the message initiator, the same message ID is used in that message. Message ID’s
can be selected arbitrarily, but successive messages must contain different ID’s so as to trigger
the execution of the message (i.e. a message will only be executed upon the ID value changing).
Message Information
This register contains information about whether the message is a command or a response, and
may also indicate an error (see below).
b15
b14
b13
b12
b11
b10
b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Err C/
R
(reserved)
Error Code Message Type
For example, a command message will always contain the value 4002h in this register. A
response message will contain 0002h, and may contain error information as detailed in the table
below.