![]() |
S115 SoftDevice for nRF54LS05 API documentation 10.0.0
|
| uint32_t sd_ble_opt_get | ( | uint32_t | opt_id, |
| ble_opt_t * | p_opt ) |
#include <ble.h>
Get a BLE option.
This call allows the application to retrieve the value of an option.
| [in] | opt_id | Option ID, see BLE_COMMON_OPTS and BLE_GAP_OPTS. |
| [out] | p_opt | Pointer to a ble_opt_t structure to be filled in. |
| NRF_SUCCESS | Option retrieved successfully. |
| NRF_ERROR_INVALID_ADDR | Invalid pointer supplied. |
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid Connection Handle. |
| NRF_ERROR_INVALID_PARAM | Invalid parameter(s) supplied, check parameter limits and constraints. |
| NRF_ERROR_INVALID_STATE | Unable to retrieve the parameter at this time. |
| NRF_ERROR_BUSY | The BLE stack is busy or the previous procedure has not completed. |
| NRF_ERROR_NOT_SUPPORTED | This option is not supported. |