User's Manual

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
5.3.2 - Description of the commands, and their formats
CMD NAME DESCRIPTION
0x21 RES_SEND_FRAME
Response from the radio board to the frame emission (response to
the request 0x20, 0x22, 0x24, 0x26, 0x28, 0x2A)
0x26 REQ_SEND_POLLING Request to send a radio frame with the polling mode.
0x32 RECEIVED_FRAME_POLLING Received radio frame following a REQ_SEND_POLLING request
The format of the types of frame received by the host, are described as follow.
Request in 'Polling' mode
REQ_SEND_FRAME
HEADER CMD DATA CRC ETX
3 bytes 1 byte variable 2 bytes 1 byte
0xFF ; 0x02 ; 0xXX 0x26
n bytes of data to transmit
the maximum size is 152 bytes
0x03
Remark : in radio polling mode, it is not necessary to transmit the address of the modules to be
interrogated, since they must be configured by the intermediary of the parameter POLLING_ROUTE.
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
Réponse à la requête de type 'Polling'
RECEIVED_FRAME_POLLING
HEADER CMD DATA CRC ETX
3 bytes 1 byte 1 byte 6 bytes variable 2 bytes 1 byte
0xFF ; 0x02 ; 0xXX 0x32
STATUT_RECEPTION :
= 0 : response OK
= 1 : no response from the
interrogated equipment
Radio address of
the interrogated
equipment
data from received frame
the maximum size is 152
bytes
0x03
WaveCard user handbook page 50 of 67