Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
5.2- 'Message’ Mode
This type of radio exchange allows to send a request, without awaiting response from the distant equipment.
After radio frame emission, the Wavecard radio board is listening again the serial RS232 link. This command
is suited to a simple data transfer between several Wavecard equipments.
5.2.1 - Configuration of the parameters relating to the 'Message' mode
The parameters are accessible by commands
REQ_READ_RADIO_PARAM
, and
REQ_WRITE_RADIO_PARAM
(all
the parameters are developed in appendix 3).
NUM
DESCRIPTION
VALEUR
TAILLE
(en
octets)
0x04
RADIO_ACKNOWLEDGE :
indicates if the radio
frames must be acknowledged by the receiver.
0 : no acknowledge (default value)
1 : acknowledge used
1
0x06
RELAY_ROUTE_STATUS
: Parameter relative to
Relay route transmission in each relayed frame
received.
0x00 : Relay route transmisson deactivated
0x01 : Relay route transmission activated
by default, Relay route transmisson deactivated
1
0x07
RELAY_ROUTE : Table containing the radio
addresses for successive repeaters to use to
reach the final equipment.
BYTE 1 : number of repeaters in the route
Maximum repeater number = 3
If BYTE 1 != 0
BYTES 2 à 7 : First repeater radio address
…, and so on.
1 à 19
0x0E
EXCHANGE_STATUS
: parameter relative to the
error or status frame management activation.
0 : status and error frame deactivated,
1 : error frame activated,
2 : status frame activated,
3 : both status and error frames activated,
by default, RECEPT_ERROR_STATUS = 0x00.
1
5.2.2 - Description of the commands, and their formats
CMD
NAME
DESCRIPTION
0x22
REQ_SEND_MESSAGE
Request to send a radio frame without 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.
0x37
END_MESSAGE_EXCHANGE
Frame indicating end of message exchange.This frame is returned only after 0x22
& 0x24 & 0x2A Request command. Reception of this frame is conditioned by the
parameter EXCHANGE_STATUS value.
WaveCard user handbook
page 43 of 67