5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
Framework

Functions

wiced_result_t wiced_bt_stack_deinit (void)
 
wiced_result_t wiced_bt_stack_init (wiced_bt_management_cback_t *p_bt_management_cback, const wiced_bt_cfg_settings_t *p_bt_cfg_settings, const wiced_bt_cfg_buf_pool_t wiced_bt_cfg_buf_pools[WICED_BT_CFG_NUM_BUF_POOLS])
 

Detailed Description

Framework Management Functions

Bluetooth Management (BTM) Application Programming Interface

The BTM consists of several management entities:

  1. Device Control - controls the local device
  2. Device Discovery - manages inquiries, discover database
  3. ACL Channels - manages ACL connections (BR/EDR and LE)
  4. SCO Channels - manages SCO connections
  5. Security - manages all security functionality
  6. Power Management - manages park, sniff, hold, etc.

Function Documentation

◆ wiced_bt_stack_deinit()

wiced_result_t wiced_bt_stack_deinit ( void )

Function wiced_bt_stack_deinit

             This function blocks until all de-initialisation procedures are complete.
             It is recommended that the application disconnect any outstanding connections prior to invoking this function.
Returns
WICED_BT_SUCCESS : on success; WICED_BT_ERROR : if an error occurred

◆ wiced_bt_stack_init()

wiced_result_t wiced_bt_stack_init ( wiced_bt_management_cback_t * p_bt_management_cback,
const wiced_bt_cfg_settings_t * p_bt_cfg_settings,
const wiced_bt_cfg_buf_pool_t wiced_bt_cfg_buf_pools[WICED_BT_CFG_NUM_BUF_POOLS] )

Function wiced_bt_stack_init

             Initialize the Bluetooth controller and stack; register
             callback for Bluetooth event notification.
Parameters
[in]p_bt_management_cback: Callback for receiving Bluetooth management events
[in]p_bt_cfg_settings: Bluetooth stack configuration
[in]wiced_bt_cfg_buf_pools: Buffer pool configuration
Returns
WICED_BT_SUCCESS : on success; WICED_BT_ERROR : if an error occurred