SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
The commands CMD_PROP_RX_SNIFF and CMD_PROP_RX_ADV_SNIFF behave like the commands CMD_PROP_RX and CMD_PROP_RX_ADV, respectively, but they perform carrier-sense operations during sync search.
When started, the commands perform the carrier-sense operations described in Section 26.10.5.5.1. As described, the operation may end if the channel state becomes IDLE.
If the trigger given by csEndTrigger and csEndTime is observed, the current channel state is checked. If BUSY, the receiver continues, but may end later if the channel state becomes IDLE and csConf.busyOp is 0. If the channel state is IDLE, the operation ends (even if csConf.idleOp is 0), and the status is PROP_DONE_IDLE. If the channel state is INVALID, the action depends on csConf.timeoutRes. If 0, the receive operation continues, and if csConf.busyOp is 1, carrier sense is no longer checked. If csConf.timeoutRes is 1, the operation ends and the status is PROP_DONE_IDLETIMEOUT.
If sync is found, the receiver operates as described in Section 26.10.5.4. If sync search is restarted after a packet is received or after reception is stopped due to an invalid length field or address mismatch, the carrier-sense operation is resumed if it was running when sync was found.
The end statuses for use with CMD_PROP_RX_SNIFF and CMD_PROP_RX_ADV_SNIFF are listed in Table 26-186 and Table 26-189. This status decides the next operation, as in Section 26.10.5.1.
Condition | Status Code | Result |
---|---|---|
Observed channel state IDLE with csConf.idleOp = 1 | PROP_DONE_IDLE | FALSE |
Timeout trigger observed with channel state IDLE | PROP_DONE_IDLE | FALSE |
Timeout trigger observed with channel state INVALID and csConf.timeoutRes = 1 | PROP_DONE_IDLETIMEOUT | FALSE |