EasyManua.ls Logo

Coronis Wavenis Wavecard - Page 45

Default Icon
70 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Wavecard-Waveport User Manual Coronis Systems
The formats of frame types received by the host are:
Message mode request
REQ_SEND_MESSAGE
HEADER CMD DATA CRC ETX
3 bytes 1 byte 6 bytes variable 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x22
Radio address of
target module
n bytes of data to transmit
Maximum size ( N bytes) is defined below
0x03
Defining maximum size
Point to Point mode Max = 152 bytes of data
Relay mode: Max = 152 – (2 + 6 x Number of repeaters)
=> 1 repeater: 144 bytes of data
=> 2 repeaters: 138 bytes of data
=> 3 repeaters: 132 bytes of data
Request acknowledgement
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
Status frame – 0x37 (END_MESSAGE_EXCHANGE)
END_MESSAGE_EXCHANGE
HEADER CMD DATA CRC ETX
3 bytes 1 byte 1 byte 2 bytes 1 byte
0xFF ; 0x02 ;
0xXX
0x37 0x00 0x03
Reception of this command by the host depends on whether or not status
frames are activated using the parameter EXCHANGE_STATUS (0x0E).
This command is useful for exchanging data using 0x22
(REQ_SEND_MESSAGE), 0x24 (REQ_SEND_BROADCAST_RESPONSE),
and 0x2A (REQ_SEND_BCST_MESSAGE) since it leaves the Wavecard radio
board available for subsequent RS232 serial link exchanges (see diagram on
page 48).
CS-SUP-MUTI-WPORTAPP-E04 45

Table of Contents