Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1570

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

Bluetooth Low Energy
A scanner operation ends with one of the statuses listed in
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.
Condition
Performed Action Number2 with pParams->scanConfig.bEndOnRpt = 1
Performed Action Number3 with pParams->scanConfig.bEndOnRpt = 1 and did not
send SCAN_REQ due to backoff
Performed Action Number3 with pParams->scanConfig.bEndOnRpt = 1, sent
SCAN_REQ and received SCAN_RSP with bCrcErr = 0 and bIgnore = 0
Performed Action Number3 with pParams->scanConfig.bEndOnRpt = 1, sent
SCAN_REQ and received SCAN_RSP with bCrcErr = 1 or bIgnore = 1
Performed Action Number3 with pParams->scanConfig.bEndOnRpt = 1, sent
SCAN_REQ, but did not get sync or found wrong packet type or invalid length
Observed trigger indicated by pParams->timeoutTrigger while waiting for sync on
ADV*_IND
Observed trigger indicated by pParams->timeoutTrigger, then performed Action
Number1, 2, 3, 4, or 5
Observed trigger indicated by pParams->endTrigger while waiting for sync on
ADV*_IND
Observed trigger indicated by pParams->endTrigger, then performed Action Number1,
2, 3, 4, or 5
Observed CMD_STOP while waiting for sync on ADV*_IND
Observed CMD_STOP, then performed Action Number1, 2, 3, 4, or 5
Received CMD_ABORT
No space in RX buffer to store received packet
Illegal value of channel
Scan request data length field has illegal value
23.6.4.6 Initiator Command
An initiator operation is started by a CMD_BLE_INITIATOR command. In the command structure, it has a
pParams parameter of the type defined in
Table
23-100. At the start of an initiator operation, the radio CPU waits for the start trigger, then programs
the frequency based on the channel parameter of the command structure. The channel parameter is not
allowed to be in the range 0–36, as these are data channels. The radio CPU sets up the advertising
channel access address and uses the CRC initialization value 0x55 5555. The whitener is set up as
defined in the whitening parameter. The radio CPU then configures the receiver.
When having tuned to the correct channel, the radio CPU starts listening for an advertising channel
packet. If sync is obtained on the demodulator, the message is received into the RX queue. The header is
checked, and if it is not a connectable advertising packet, reception is stopped and sync search restarted.
The bCrcErr and bIgnore bits are set according to the CRC result and the received message. The
parameter pParams->initConfig.bUseWhiteList determines if the initiator must try to connect to a specific
device or against the white list. If this parameter is 0, the white list is not used, and pParams->pWhiteList
points to a buffer containing only the device address of the device to connect to. The address type of the
peer is given in pParams->advConfig.peerAddrType. Otherwise, pParams->pWhiteList points to a white
list. If the white list is not used, the received AdvA field in the message is checked against the address
found in pParams->pWhiteList, and the TXAdd bit of the received header is checked against
pParams->initConfig.peerAddrType. If the white list is used, the received AdvA field in the message, along
with the TXAdd bit of the received header is checked against white list as described in
For ADV_DIRECT_IND messages, the received InitA field and RXAdd bit are checked against pParams-
>deviceAddr and pParams->initConfig.deviceAddrType, respectively. Depending on this, the actions taken
are as given in
Table
bIgnore, is given in
1570
Radio
Table 23-126. End of Scanner Operation
Table 23-94
23-127, where the definition of each action, including the value used on bCrcErr and
Table
23-128. If pParams->initConfig.bStrictLenFilter is 1, only length fields compliant
Copyright © 2015, Texas Instruments Incorporated
Table
23-126. The status field of the command
Status Code
BLE_DONE_OK
BLE_DONE_OK
BLE_DONE_OK
BLE_DONE_RXERR
BLE_DONE_NOSYNC
BLE_DONE_RXTIMEOUT
BLE_DONE_RXTIMEOUT
BLE_DONE_ENDED
BLE_DONE_ENDED
BLE_DONE_STOPPED
BLE_DONE_STOPPED
BLE_DONE_ABORT
BLE_ERROR_RXBUF
BLE_ERROR_PAR
BLE_ERROR_PAR
and a pOutput parameter of the type defined in
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com
Result
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
FALSE
FALSE
FALSE
ABORT
FALSE
ABORT
ABORT
Section
23.6.4.9.

Hide quick links:

Advertisement

loading