User's Manual
Table Of Contents
- 1. INTRODUCTION
- 2. RS232 SERIAL PROTOCOL PRESENTATION
- 3. setting the internal parameters of the wavecard
- 3.1- Configuration of the functional parameters
- 3.2- Configuration of the control parameters
- 3.2.1 - selection of the radio operating channel when FHSS is deselected
- 3.2.2 - Selection of the RF medium physical mode
- 3.2.3 - Selection of the radio board emission power
- 3.2.4 - Activation of the Wavenis RF Asic RSSI threshold autocorrection
- 3.2.5 - Selection of the serial baudrate.
- 3.2.6 - Reading the firmware version of the WaveCard
- 3.2.7 - Reading the RSSI level (Received Signal Strengh Indicator)
- 3.2.8 - TEST Mode
- 4. SERVICE COMMANDS
- 5. COMMUNICATION MODES
- 5.1- 'Frame Exchange’ Mode
- 5.2- 'Message’ Mode
- 5.3- ’Polling’ Mode
- 5.4- ’Broadcast’ mode
- 5.4.1 - Configuration of the parameters relating to the 'Broadcast' mode
- 5.4.2 - 'BroadCast' mode without waiting for a response
- 5.4.3 - 'BroadCast' mode with waiting for responses
- 5.4.4 - Format of the commands – from the request transmitter side
- 5.4.5 - Format of the commands – from the request receiver side
- 5.4.6 - Use of the selective, or not-selective broadcast mode
- 5.5- ’Multi frames' Mode
Document : WCAMODHEL.sxw
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).
NU
M
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_STATU S : 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
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_STATU S : 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 NA ME 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_RELAYE
D
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.
WCAMODHEL Handbook page 46 of 74