Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
5.4.5 - Format of the commands – from the request receiver side
➢
Reception of a broadcast request – 0x38 (
RECEIVED_BROADCAST_FRAME
)
RECEIVED_BROADCAST_FRAME
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x38
Radio address of the transmitter of
the request
n bytes of data
the maximum size is 152 bytes
0x03
➢
Transmission of the response to a broadcast request – 0x24 (
REQ_SEND_BROADCAST_RESPONSE
)
REQ_SEND_BROADCAST_RESPONSE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x24
Radio address of the transmitter of
the request
n bytes of data to transmit
the maximum size is 152 bytes
0x03
Remark : This command can only be used after the reception of a broadcast frame
(RECEIVED_BROADCAST_FRAME = 0x38). So, destination radio address of this message could
only be this from the emitter of the Broadcast frame.
Use of this command in any other circumpstances could make the Wavecard not available during a
few seconds.
➢
Status Message – 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
Attention, use of this command depends on the activation of status message, in parameter
EXCHANGE_STATUS (0x0E).
5.4.6 - Use of the selective, or not-selective broadcast mode
To initiate a Broadcast request, either in selective or not-selective mode, there is no particular procedure. The
user just has to ensure that the distant modules have their GROUP_NUMBER parameter configured.
Then, the user has to send a broadcast request (with, or without waiting for responses), by configuring 'group
number' to adjust selectivity.
Group number = 0xFF 0xXX 0xXX 0xXX 0xXX 0xXX
not-selective mode
Group number = 0x01 0xXX 0xXX 0xXX 0xXX 0xXX
selective mode
In this last case, all the equipments within radio range, having their group number configured with 0x01, will
receive the broadcast command.
WaveCard user handbook
page 60 of 67