SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
A non-connectable 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-96 and a pOutput parameter of the type defined in Table 26-108. 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 non-connectable advertiser operation shall end with one of the statuses listed in Table 26-135. 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 |