User's Manual
Table Of Contents
- 1. INTRODUCTION
- 2. RS232 SERIAL PROTOCOL PRESENTATION
- 3. setting internal waveport CF parameters
- 3.1 Configuring functional parameters
- 3.2 Wake-up and synchronization
- 3.3 Configuring control parameters
- 3.3.1 Selecting RF communication mode
- 3.3.2 Selecting radio channel when FHSS is deselected
- 3.3.3 Selecting radio board transmission power
- 3.3.4 Activating RSSI threshold auto-correction
- 3.3.5 Selecting the serial baud rate
- 3.3.6 Reading Waveport CF firmware version
- 3.3.7 Reading RSSI
- 3.3.8 RSSI command format
- 3.3.9 TEST Mode
- 4. SERVICE COMMANDS
- 5. COMMUNICATION MODES
Waveport CF user manuel Coronis Systems
5.4.4 Command format from the transmitter side
• Broadcast requests – 0x28 or 0x2A
(REQ_SEND_BROADCAST or REQ_SEND_BROADCAST_MESSAGE)
REQ_SEND_BROADCAST or REQ_SEND_BROADCAST_MESSAGE
HEADER CMD DATA CRC ETX
3 bytes 1 byte 6 bytes variable 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x28
Group number to query
in broadcast mode
n bytes of data to transmit
Maximum size is 152 bytes
0x03
• Group number to query: Only the most significant byte (MSByte) corresponds to the group
number. The 5 other bytes are not significant.
If the group number is 0xFF 0xXX 0xXX 0xXX 0xXX 0xXX, all modules that
receive the broadcast frame are authorized to transmit a response.
• Acknowledgement of the request – 0x21 (RES_SEND_FRAME)
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
• Response to broadcast request – 0x34 (RECEIVED_BROADCAST_RESPONSE)
RECEIVED_BROADCAST_RESPONSE
HEADER CMD DATA CRC ETX
3 bytes 1 byte 1 byte 1 byte 1 byte 6 bytes variable 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x34 Status
Total number
of frames
received
Frame
Index
Radio address of
the response
transmitter
Received data
152 bytes
max.
0x03
Status : = 0: reception OK
= 1: indicates that the number of received responses is higher than 255.
In this case, only the first 255 responses are forwarded to the host.
Frame index: This index is used by the Waveport CF to know how many responses are to
be forwarded to the host. This index is decremented on low-level
acknowledgement when the Waveport CF send a response to its host. The
host knows that all responses have been sent when the frame index is 1. By
ensuring that this value is properly decremented with each received frame,
this index is also used to confirm that no frames were lost.
Compact_Flash-UserManual 61