Wavecard-Waveport User Manual
Coronis Systems
5.2 Message mode
This type of radio exchange allows you to send requests without waiting for remote modules to respond. After
sending a frame the Wavecard board listens on its RS232 serial link. Commands in message mode are
mostly used for simple data transfer between several Wavecard modules.
5.2.1 Configuring message mode parameters
Parameters are accessible using commands REQ_READ_RADIO_PARAM and
REQ_WRITE_RADIO_PARAM (parameter details are provided in Appendix III).
NUM
DESCRIPTION
VALUE
SIZE
(in
bytes)
0x04
RADIO_ACKNOWLEDGE: indicates
whether or not radio frames should be
acknowledged by receiver.
0: no acknowledgement
1: with acknowledgement (default value)
1
0x06
RELAY_ROUTE_STATUS: Parameter
related to relay route transmission in each
relayed frame received.
0x00: Relay route transmission deactivated
0x01: Relay route transmission activated
By default, relay route transmission is
deactivated.
1
0x07
RELAY_ROUTE: Table containing radio
addresses of successive repeaters used to
reach the end module.
BYTE 1: number of repeaters in route.
Maximum number of repeaters = 3
If BYTE 1 != 0
BYTES 2 to 7: Radio address of first repeater …,
etc.
1 to 19
0x0E
EXCHANGE_STATUS: parameter for
activating or deactivating error or status
frame management.
0: both status and error frames 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
Commands and formats
CMD
NAME
DESCRIPTION
0x22
REQ_SEND_MESSAGE
Request to send a radio frame and wait for radio response.
0X21
RES_SEND_FRAME
Radio board response to frame transmission (response to requests 0x20,
0x22, 0x24, 0x26, 0x28, 0x2A)
0x30
RECEIVED_FRAME
Frame received by radio board.
0x31
RECEPTION_ERROR
Frame indicating error type detected at the end of the last exchange in point-
to-point or relay mode.
0x35
RECEIVED_FRAME_RELAYE
D
Relay frame received by the radio board. Reception of this command is
possible only if the RELAY_ROUTE_STATUS (0x06) parameter is set.
0x37
END_MESSAGE_EXCHANGE
Frame indicating the end of message exchange. This frame is returned only
after a 0x22 & 0x24, or 0x2A request command. Reception of this frame
depends on the value of EXCHANGE_STATUS.
CS-SUP-MUTI-WPORTAPP-E04
44