User's Manual

Table Of Contents
Document : WCAMODHEL.sxw
The format of the types of frame received by the host, are described as follow.
Request in 'Message' mode
REQ_SEND_MES SAGE
HEADER CMD D ATA CRC ETX
3 bytes 1 byte 6 bytes variable 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x22
Radio address
from equipment
to reach
n bytes of data to transmit
the maximum size ( N bytes) is
defined below
0x03
Remark : maximum size definition
- Point to Point mode
:
Max = 152 bytes of data
- Relaying mode : Max = 152 – (2 + 6 x Number of repeaters)
=> 1 repeater : 144 bytes of data,
=> 2 repeaters : 138 bytes of data,
=> 3 repeaters : 132 bytes of data.
Acknowledgement of the request
RES_SEND_FRAME
HEADER CMD D ATA CRC ETX
3 bytes 1 byte 1 byte 2 bytes 1 byte
0xFF ; 0x02 ;
0x05
0x21
Status
0x00 : transmission OK
0x01 : transmission error
0x03
Status frame – 0x37 (END_MESSAGE_EXCHANGE)
END_MES SAGE_EXCHANGE
HEADER CMD D ATA CRC ETX
3 bytes 1 byte 1 byte 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x37 0x00 0x03
Attention, the reception by the host of this command depends on the activation of status frame in
parameter EXCHANGE_STATUS (0x0E).
This command is useful while trying to exchange datas using 0x22 (REQ_SEND_MESSAGE), 0x24
(REQ_SEND_BROADCAST_RESPONSE) and 0x2A (REQ_SEND_BCST_MESSAGE) commands, since it gives
Wavecard Radio Board availibility for next RS232 serial link exchange (see diagram,p.46).
WCAMODHEL Handbook page 47 of 74