| NRF_SUCCESS | The BLE stack has started advertising. |
| NRF_ERROR_INVALID_STATE | adv_handle is not configured or already advertising. |
| NRF_ERROR_CONN_COUNT | The limit of available connections for this connection configuration tag has been reached; connectable advertiser cannot be started. To increase the number of available connections, use sd_ble_cfg_set with BLE_GAP_CFG_ROLE_COUNT or BLE_CONN_CFG_GAP. |
| BLE_ERROR_INVALID_ADV_HANDLE | Advertising handle not found. Configure a new adveriting handle with sd_ble_gap_adv_set_configure. |
| NRF_ERROR_NOT_FOUND | conn_cfg_tag not found. |
| NRF_ERROR_RESOURCES | Either:
- adv_handle is configured with connectable advertising, but the event_length parameter associated with conn_cfg_tag is too small to be able to establish a connection on the selected advertising phys. Use sd_ble_cfg_set to increase the event length.
- Not enough BLE role slots available. Stop one or more currently active roles (Peripheral or Broadcaster) and try again
- p_adv_params is configured with connectable advertising, but the event_length parameter associated with conn_cfg_tag is too small to be able to establish a connection on the selected advertising phys. Use sd_ble_cfg_set to increase the event length.
|