SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
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-97 or Table 26-105 and a pOutput parameter of the type defined in Table 26-97 or Table 26-111. 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 0x555555. 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.