Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
5.1.2 - Description of the commands, and their formats
CMD
NAME
DESCRIPTION
0x20
REQ_SEND_FRAME
Request to send a radio frame with the waiting for the radio response.
0x21
RES_SEND_FRAME
Response from the radio board to the frame emission (response to the
request 0x20, 0x22, 0x24, 0x26, 0x28, 0x2A)
0x30
RECEIVED_FRAME
Received radio frame by the radio board.
0x31
RECEPTION_ERROR
Frame indicating error type detected at the issue of last exchange in
point to point or relaying mode.
0x35
RECEIVED_FRAME_RELAYED
Received relayed radio frame by the radio board .Reception of this
command is possible only if RELAY_ROUTE_STATUS (0x06) parameter is
set.
Data frame description is as follow :
➢
Request in 'Frame Exchange' mode
REQ_SEND_FRAME
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x20
Radio address from
equipment to reach
n bytes of data to transmit
the maximum size ( N bytes) is defined below
0x03
➢
Acknowledgement of the request
RES_SEND_FRAME
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
1 byte
2 bytes
1 byte
0xFF ; 0x02 ; 0x05
0x21
Status
0x00 :
transmission OK
0x01 :
transmission error
0x03
➢
Response to the request
RECEIVED_FRAME
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x30
Radio address from
transmitter equipment
data from received frame
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
.
WaveCard user handbook
page 37 of 67