SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
A nonconnectable advertiser operation is started by a CMD_BLE_ADV_NC command. In the command structure, it shall have a pParams parameter of the type defined in Table 26-98 and a pOutput parameter of the type defined in Table 26-110. The operation starts with transmission and operates as described in Section 26.8.8. After transmission of an ADV_NONCONN_IND packet, the operation shall end without any receive operation.
A nonconnectable advertiser operation shall end with one of the statuses listed in Table 26-137. 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, the result of TRUE, FALSE, or ABORT is indicated, which will decide the next action.
Condition | Status Code | Result |
---|---|---|
Transmitted ADV_NONCONN_IND | BLE_DONE_OK | TRUE |
Observed trigger indicated by pParams->endTrigger, then finished transmitting ADV_NONCONN_IND | BLE_DONE_ENDED | FALSE |
Observed CMD_STOP, then finished transmitting ADV_NONCONN_IND | BLE_DONE_STOPPED | FALSE |
Received CMD_ABORT | BLE_DONE_ABORT | ABORT |
Illegal value of channel | BLE_ERROR_PAR | ABORT |
Advertising data length field has illegal value | BLE_ERROR_PAR | ABORT |