This submodule includes all advertising logic: when to start advertising, and of which type.
More...
This submodule includes all advertising logic: when to start advertising, and of which type.
bool m_coms_ble_adv_bondable_running |
( |
void |
| ) |
|
Function for checking whether bondable advertising is currently running.
- Returns
- 'true' when bondable advertising is running.
Function for initializing advertising logic.
- Note
- Memory holding bonding parameters (p_bond_params) is expected to be persistent, and is not copied locally.
- Parameters
-
[in] | p_ble_params | Pointer to bonding parameters. |
- Returns
- NRF_SUCCESS on success, otherwise error code.
bool m_coms_ble_adv_running |
( |
void |
| ) |
|
Function for checking whether any type of advertising is currently running.
- Returns
- 'true' when any advertising is running.
ret_code_t m_coms_ble_adv_start |
( |
bool |
bondable | ) |
|
Function for starting advertising.
- Parameters
-
[in] | bondable | True, if bondable advertising should be started. |
- Returns
- NRF_SUCCESS on success, otherwise error code.
ret_code_t m_coms_ble_adv_stop |
( |
void |
| ) |
|
Function for stopping advertising.
- Returns
- NRF_SUCCESS on success, otherwise error code.