Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
Bluetooth Low Energy
A trigger to end the operation is set up by pParams->endTrigger and pParams->endTime. If the trigger
defined by this parameter occurs, the radio operation ends as soon as possible. If the trigger occurs while
waiting between packets, the operation ends immediately. If the trigger occurs at another time, the
operation continues until the current packet has been fully transmitted, and then ends. If the immediate
command CMD_STOP is received by the radio CPU, it has the same meaning as the end trigger
occurring, except that the status code after ending is CMD_DONE_STOPPED.
The output structure pOutput contains only the field nTX, and is incremented each time a packet has been
transmitted. The radio CPU does not initialize the field, so this must be done by the system CPU when a
reset of the counters is desired. A TX_DONE interrupt is raised each time a packet has been transmitted.
A PHY test TX operation ends with one of the statuses listed in
The status field of the
command structure after the operation is ended indicates the reason why the operation ended. In all
cases, a COMMAND_DONE interrupt is raised. In each case, it is indicated if the result is True, False, or
Abort, which decides the next action.
Table 23-130. End of PHY Test TX Operation
Condition
Status Code
Result
Transmitted pParams->numPackets packets
BLE_DONE_OK
True
Observed trigger indicated by pParams->endTrigger while waiting between
BLE_DONE_ENDED
False
packets
Observed trigger indicated by pParams->endTrigger, then finished
BLE_DONE_ENDED
False
transmitting packet
Observed CMD_STOP while waiting between packets
BLE_DONE_STOPPED
False
Observed CMD_STOP, then finished transmitting packet
BLE_DONE_STOPPED
False
Received CMD_ABORT
BLE_DONE_ABORT
Abort
Illegal value of channel
BLE_ERROR_PAR
Abort
Illegal value of pParams >packetType
BLE_ERROR_PAR
Abort
23.6.4.9 White List Processing
A white list is used in advertiser, scanner, and initiator operation. The white list consists of a configurable
number of entries. The white list is an array of entries of the type defined in
The first entry of
the array contains the array size in the size field.
The minimum number of entries in a white list array is 1, but if no white list is to be used, pParams-
>pWhiteList may be NULL. The maximum number is at least 8.
Each entry contains one address and three configuration bits. The bEnable bit is 1 if the entry is enabled,
otherwise the address is ignored when doing white-list filtering. The addrType bit indicates if the entry is a
public or random address. The bIgnore bit can be used by a scanner to avoid reporting and scanning the
same device multiple times.
When an address is checked against the white list, the address is compared against the address field of
each entry in the white list. The address is said to be present in the white list if and only if there is an entry
where:
bEnable is 1
addrType is equal to the address type of the address to check
All bytes of the address array are equal to the bytes of the address to check
For scanner only: bWlIgn is 0
For scanners, the bWlIgn bit may be set in the white list to indicate that a device is ignored even if the
white list entry would otherwise be a match. This feature can be used to check for advertisers that have
already been scanned, or where the advertising data has already been reported. Even if no white list
filtering is performed, this feature may be used. The white list is scanned for devices that match the
address and address type, and where bWlIgn is 1. Such devices are ignored. The bEnable bit is not
checked in this case. It is possible to configure the radio CPU to automatically set the bWlIgn bit, see
Scanner Command.
1545
SWCU117A – February 2015 – Revised March 2015
Radio
Copyright © 2015, Texas Instruments Incorporated