User's Manual

Table Of Contents
Waveport CF user manuel Coronis Systems
If RADIO_ACKNOWLEDGE is active, and the transmitter does not receive acknowledgement, the
request is re-sent three times before and error frame is sent.
If RADIO_ACKNOWLEDGE is inactive, then the error frame is sent after the time-out specified by
RADIO_USER_TIMEOUT.
5.3 Polling mode
Polling mode allows you to send a request to a predefined list of remote modules. Responses are sent to the
host that originated the request when all remote modules have responded or after a time-out. The are two
types of exchanges in polling mode:
Non-selective polling All remote modules designated in the POLLING_ROUTE table are queried.
Selective polling Only a selected group of remote modules listed in the POLLING_ROUTE
are queried.
5.3.1 Configuring polling mode parameters
Polling mode parameters are accessible via REQ_READ_RADIO_PARAM, and
REQ_WRITE_RADIO_PARAM commands (a complete list is provided in Appendix III).
NUM DESCRIPTION VALUE
SIZE
(in
bytes)
0x03
Waveport CF_POLLING_GROUP: Byte
containing the Waveport CF's polling group.
Byte 1: Polling_Group
By default, Polling_Group = 0x00
1
0x08
POLLING_ROUTE: Table containing the
radio addresses of remote modules to query.
Byte 2 : number of modules to query
IF Byte 2 != 0
Bytes 3 to 8 : radio address of the first
module, second module, etc.
1 to
241
0x09
GROUP_NUMBER: Byte containing the
group number of the remote modules to query
in polling mode.
Group number
By default, GROUP_NUMBER = 0x00
1
0x0A
POLLING_TIME: time delay between two
consecutive transmissions in polling mode
Value in multiples of 100 ms
By default, POLLING_TIME = 0x0A
1
Example
This example shows how to write list of the remote modules to query in polling mode. Suppose we have two
remote modules, whose 6-byte addresses are 0xAAAAAAAAAAAA and 0xBBBBBBBBBBBB. Launch a
REQ_WRITE_RADIO_PARAM request, setting the CMD byte to 0x40. Then, in the DATA field, specify the
number of the parameter to be modified and corresponding data using the following format.
DATA field
1 byte variable
Number of the parameter to modify Parameter data
Thus:
REQ_WRITE_RADIO_PARAM
Compact_Flash-UserManual 50