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
RES_WRITE_RADIO_PARA M
HEADER CMD D ATA CRC ETX
3 bytes 1 byte 1 byte 2 bytes 1 byte
0xFF ; 0x02 ;
0x05
0x41
S TATUS
= 0x00 update OK
= 0x01 update error
0x03
Timeout management : The WaveCard can be considered in fault, beyond the value of the following
latencies:
REQ_WRITE_RADIO_PARAM 2 seconds.
REQ_READ_RADIO_PARAM 2 seconds.
EXAMPLE : configuration of the repeaters table, and activation of error frames.
Between WaveCard (exchange instigator), and the recipient equipment, we have a repeater
equipment(radio address : 0X AA AA AA AA AA AA). In addition, we must authorize the error frame, in order
to determine which distant equipment caused the error.
•
Writing new parameters
repeaters list configuration (Request/Response mechanism)
Request from the host to the WaveCard (
REQ_WRITE_RADIO_PARAM)
HEADER
SYN
C
ST
X
LENGT
H
CMD
D ATA
Paramete
r number
Parameter data
CRC ETX
0xFF
0x0
2
0x0C 0x40 0x07 0x01 ; 0xAAAAAAAAAAAA
0xXXX
X
0x0
3
Response from the WaveCard to the host (
RES_WRITE_RADIO_PARAM)
HEADER
SYN
C
STX LENGT
H
CMD
D ATA
Status of the update
CRC ETX
0xFF 0x02 0x05 0x41 0x00 0xXXX
X
0x0
3
Activation of the error frames (Request/Response mechanism)
Request from the host to the WaveCard (REQ_WRITE_RADIO_PARAM)
HEADER
SYN
C
STX
LENGT
H
CMD
D ATA
Paramete
r number
Parameter data
CRC ETX
WCAMODHEL Handbook page 16 of 74