WI-GTWY-9-xxx Wireless Gateway V1.18
102
Bit/Field Description
Contents
Err
This bit indicates if the received message
contains any errors
0: Message OK
1: Error
C/R
This bit indicates if the message is a
command or a response
0: Response Message
1: Command Message
Error
Code
If the Err bit is set this field contains
additional error information
0h: Invalid Message ID
1h: Invalid Message Type
2h: Invalid Command
3h: Invalid Data Size
4h-6h: Message header malformed
8h: Invalid Response
9h: Flash Config Error
Fh: Invalid Other
(All other values are reserved)
Message
Type
This field specifies the message type
2h: This field must always equal 2.
Command Number
This register contains a 16 bit command identifier, which contains the identifier corresponding to
the exact message command to be executed.
Data Size
This register specifies the size of the Message Data in bytes. The maximum Message Data size is
256 bytes.
Extended Words 1 ... 8
These registers are specific for each command. Consult the specification for each command for
further information.
Message Interface Addressing
Command messages and response messages are allocated fixed locations in the radio interface
(I/O Registers). Also, spontaneously generated alarm messages are allocated unique fixed
locations in the radio interface. The memory allocation of these messages in the radio interface is
outlined in the table below.