SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
A scanner operation is started by a CMD_BLE_SCANNER or CMD_BLE5_SCANNER command. In the command structure, it shall have a pParams parameter of the type defined in Table 26-99 or Table 26-107 and a pOutput parameter of the type defined in Table 26-99 or Table 26-113. At the start of a scanner operation, the radio CPU shall wait for the start trigger. It shall then program the frequency based on the channel parameter of the command structure. For CMD_BLE_SCANNER, the channel parameter is not allowed to be in the range 0–36 because they are not primary advertising channels. For CMD_BLE5_SCANNER, it shall also set up the PHY mode given in phyMode.mainMode. The radio CPU shall set up the advertising channel access address and use the CRC initialization value 0x55 5555. The whitener shall be set up as defined in the whitening parameter. The radio CPU shall then configure receiver.
After tuning to the correct channel, the radio CPU shall start 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 an advertising packet, reception shall be stopped and sync search shall be restarted. The packets accepted and further operation depends on the command run, the channel type, and PHY mode (see the descriptions in Section 26.8.10.1, Section 26.8.10.2, and Section 26.8.10.3). All scanner commands end as described in Section 26.8.10.5.