Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_memory_pre_init.h File Reference

support memory allocation tuning More...

Data Structures

struct  WICED_CONFIG_ACL_POOLS_t
 Memory tuning configuration for ACL data buffer transfer between host and device. More...
 
struct  WICED_CONFIG_DYNAMIC_MEMORY_POOL_t
 Memory tuning configuration for LE data buffer transfer between host and device. More...
 
struct  WICED_CONFIG_DYNAMIC_MEMORY_t
 Memory tuning configuration for dynamic memory general use pools. More...
 
struct  tag_mem_pre_init_control
 structure containing paramters to pass for memory pre-init More...
 

Macros

#define WICED_MEM_PRE_INIT_IGNORE   (0xff)
 use this define value to indicate no change to parameter
 

Typedefs

typedef struct
tag_mem_pre_init_control 
WICED_MEM_PRE_INIT_CONTROL
 structure containing paramters to pass for memory pre-init
 

Functions

void wiced_memory_pre_init (uint32_t enable, uint32_t max_ble_connections, uint32_t num_ble_whitlelist)
 Deprecated in favor of wiced_memory_pre_init_ex. More...
 
void wiced_memory_pre_init_ex (WICED_MEM_PRE_INIT_CONTROL *mem_pre_init)
 set pre-init memory allocation parameters call this from spar_crt_init function to set parameters prior to allocations
 

Detailed Description

support memory allocation tuning

Function Documentation

void wiced_memory_pre_init ( uint32_t  enable,
uint32_t  max_ble_connections,
uint32_t  num_ble_whitlelist 
)

Deprecated in favor of wiced_memory_pre_init_ex.

Description: set pre-init memory allocation parameters. call this from spar_crt_init function to set parameters prior to allocations Note: Application don't need to call this function. Application only need to provide the global variables as following and tuning the value.

uint8_t g_wiced_memory_pre_init_enable = 1; uint8_t g_wiced_memory_pre_init_max_ble_connections = 7; uint8_t g_wiced_memory_pre_init_num_ble_rl = 60;

Input: g_wiced_memory_pre_init_enable: Enable or disable this memory tuning.

g_wiced_memory_pre_init_max_ble_connections: This is for BLE connections which device could support Default value is 15 Max value is 15, user is able to tuning this value form 1 to 15.

g_wiced_memory_pre_init_num_ble_rl The Resolving List is used by the Link Layer to resolve Resolvable Private Addresses used by advertisers, scanners or initiators. This allows the Host to configure the Link Layer to act on a request without awakening the Host. Default value is 128 Max value is 128, user is able to tuning this value from 1 to 128.

Output: None Return: None