3.0.0.0R11
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
wiced_bt_cfg.h File Reference

Data Structures

struct  wiced_bt_cfg_ble_advert_settings_t
 
struct  wiced_bt_cfg_ble_scan_settings_t
 
struct  wiced_bt_cfg_br_edr_scan_settings_t
 
struct  wiced_bt_cfg_gatt_settings_t
 
struct  wiced_bt_cfg_l2cap_application_t
 
struct  wiced_bt_cfg_reserved_t
 
struct  wiced_bt_cfg_settings_t
 

Macros

#define WICED_BT_CFG_DEFAULT_CONN_LATENCY   0
 
#define WICED_BT_CFG_DEFAULT_CONN_MAX_INTERVAL   40
 
#define WICED_BT_CFG_DEFAULT_CONN_MIN_INTERVAL   24
 
#define WICED_BT_CFG_DEFAULT_CONN_SUPERVISION_TIMEOUT   700
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_ADV_MAX_INTERVAL   48
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_ADV_MIN_INTERVAL   48
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_INTERVAL   96
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_WINDOW   48
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_DIRECTED_ADV_MAX_INTERVAL   800
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_DIRECTED_ADV_MIN_INTERVAL   400
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_NONCONN_ADV_MAX_INTERVAL   160
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_NONCONN_ADV_MIN_INTERVAL   160
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_SCAN_INTERVAL   96
 
#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_SCAN_WINDOW   48
 
#define WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_INTERVAL   0x0800
 
#define WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_WINDOW   0x0012
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_ADV_MAX_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_ADV_MIN_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_WINDOW   18
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_DIRECTED_ADV_MAX_INTERVAL   48
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_DIRECTED_ADV_MIN_INTERVAL   48
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_NONCONN_ADV_MAX_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_NONCONN_ADV_MIN_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_SCAN_INTERVAL   2048
 
#define WICED_BT_CFG_DEFAULT_LOW_DUTY_SCAN_WINDOW   18
 
#define WICED_BT_CFG_DEFAULT_PAGE_SCAN_INTERVAL   0x0800
 
#define WICED_BT_CFG_DEFAULT_PAGE_SCAN_WINDOW   0x0012
 
#define WICED_BT_CFG_NUM_BUF_POOLS   (4)
 

Functions

void wiced_bt_print_cfg_buf_pool_stats (void)
 

Variables

const
wiced_bt_cfg_br_edr_scan_settings_t
wiced_bt_cfg_br_edr_scan_settings
 

Detailed Description

Runtime Bluetooth configuration parameters

Macro Definition Documentation

#define WICED_BT_CFG_DEFAULT_CONN_LATENCY   0

Connection latency

#define WICED_BT_CFG_DEFAULT_CONN_MAX_INTERVAL   40

Maximum connection event interval

#define WICED_BT_CFG_DEFAULT_CONN_MIN_INTERVAL   24

Minimum connection event interval

#define WICED_BT_CFG_DEFAULT_CONN_SUPERVISION_TIMEOUT   700

Connection link supervsion timeout

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_ADV_MAX_INTERVAL   48

Tgap(adv_fast_interval1) = 30(used) ~ 60 ms = 48 *0.625

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_ADV_MIN_INTERVAL   48

Tgap(adv_fast_interval1) = 30(used) ~ 60 ms = 48 *0.625

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_INTERVAL   96

High duty cycle connection scan interval BTM_BLE_SCAN_FAST_INT

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_WINDOW   48

High duty cycle connection scan window BTM_BLE_SCAN_FAST_WIN

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_DIRECTED_ADV_MAX_INTERVAL   800

Tgap(dir_conn_adv_int_min) = 500 ms = 800 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_DIRECTED_ADV_MIN_INTERVAL   400

Tgap(dir_conn_adv_int_max) = 250 ms = 400 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_NONCONN_ADV_MAX_INTERVAL   160

Tgap(adv_fast_interval2) = 100(used) ~ 150 ms = 160 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_NONCONN_ADV_MIN_INTERVAL   160

Tgap(adv_fast_interval2) = 100(used) ~ 150 ms = 160 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_SCAN_INTERVAL   96

High duty scan interval

#define WICED_BT_CFG_DEFAULT_HIGH_DUTY_SCAN_WINDOW   48

High duty scan window

#define WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_INTERVAL   0x0800

Inquiry scan interval

#define WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_WINDOW   0x0012

Inquiry scan window

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_ADV_MAX_INTERVAL   2048

Tgap(adv_slow_interval) = 1.28 s= 512 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_ADV_MIN_INTERVAL   2048

Tgap(adv_slow_interval) = 1.28 s= 512 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_INTERVAL   2048

Low duty cycle connection scan interval BTM_BLE_SCAN_SLOW_INT_1

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_WINDOW   18

Low duty cycle connection scan window BTM_BLE_SCAN_SLOW_WIN_1

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_DIRECTED_ADV_MAX_INTERVAL   48

Tgap(adv_fast_interval1) = 30(used) ~ 60 ms = 48 *0.625

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_DIRECTED_ADV_MIN_INTERVAL   48

Tgap(adv_fast_interval1) = 30(used) ~ 60 ms = 48 *0.625

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_NONCONN_ADV_MAX_INTERVAL   2048

Tgap(adv_slow_interval) = 1.28 s= 512 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_NONCONN_ADV_MIN_INTERVAL   2048

Tgap(adv_slow_interval) = 1.28 s= 512 * 0.625 ms

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_SCAN_INTERVAL   2048

Low duty scan interval

#define WICED_BT_CFG_DEFAULT_LOW_DUTY_SCAN_WINDOW   18

Low duty scan window

#define WICED_BT_CFG_DEFAULT_PAGE_SCAN_INTERVAL   0x0800

Page scan interval

#define WICED_BT_CFG_DEFAULT_PAGE_SCAN_WINDOW   0x0012

Page scan window

#define WICED_BT_CFG_NUM_BUF_POOLS   (4)

Wiced_bt stack uses 4 pools

Function Documentation

void wiced_bt_print_cfg_buf_pool_stats ( void  )

Function wiced_bt_print_cfg_buf_pool_stats

             Displays Bluetooth buffer pool usage - prints a detailed summary of application-specified
             buffer pools. It also displays the statistics of internal buffer pools used by the stack.
Parameters
[in]return

Variable Documentation

const wiced_bt_cfg_br_edr_scan_settings_t* wiced_bt_cfg_br_edr_scan_settings

BR/EDR Scan settings (NULL to use defaults)