Smart Remote 3 nRF52 v1.2
Functions
BLE advertising submodule

This submodule includes all advertising logic: when to start advertising, and of which type. More...

Functions

bool m_coms_ble_adv_bondable_running (void)
 Function for checking whether bondable advertising is currently running. More...
 
ret_code_t m_coms_ble_adv_init (const m_coms_ble_params_t *p_ble_params)
 Function for initializing advertising logic. More...
 
bool m_coms_ble_adv_running (void)
 Function for checking whether any type of advertising is currently running. More...
 
ret_code_t m_coms_ble_adv_start (bool bondable)
 Function for starting advertising. More...
 
ret_code_t m_coms_ble_adv_stop (void)
 Function for stopping advertising. More...
 

Detailed Description

This submodule includes all advertising logic: when to start advertising, and of which type.

Function Documentation

bool m_coms_ble_adv_bondable_running ( void  )

Function for checking whether bondable advertising is currently running.

Returns
'true' when bondable advertising is running.
ret_code_t m_coms_ble_adv_init ( const m_coms_ble_params_t p_ble_params)

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_paramsPointer 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]bondableTrue, 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.

Documentation feedback | Developer Zone | Subscribe | Updated