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

WICED Application pre init configuration Interface. More...

Macros

#define BLE_ACL_BUF_OVERHEAD   12
 
#define BLE_ISO_BUF_OVERHEAD   20
 
#define DEFAULT_APPLICATION_THREAD_STACK_SIZE   (896 * 4)
 
#define MAX_DYNAMIC_MEMORY_NUM_POOLS   (DYNAMIC_MEMORY_NUM_POOLS + 1)
 

Typedefs

typedef void(* wiced_app_entry_fn_t )(void)
 

Functions

void wiced_register_pre_init_cfg (const wiced_pre_init_cfg_t *p_cfg)
 

Variables

typedef STRUCT_PACKED
 
uint16_t host_to_device_size
 The size of buffers for host to device ACL traffic. More...
 
uint16_t device_claim_device_to_host_size
 max size of the L2CAP segment contained in an upstream ACL data packet. More...
 
uint16_t device_to_host_size
 The size of buffers for device to host ACL traffic = 4ByteAligned(device_claim_device_to_host_size + bufferOverhead) More...
 
uint8_t host_claim_host_to_device_count
 The total number of HCI ACL Data Packets that can be stored in the data buffers of the Controller.
 
uint8_t host_to_device_count
 The number of buffers for host to device ACL traffic. More...
 
uint8_t device_to_host_count
 The number of buffers for device to host ACL traffic. More...
 
 wiced_bt_config_acl_pool_t
 
uint16_t device_iso_pdu_size
 The size of buffers for saving ISO PDUs to be sent/received OTA (includes the space for overheads). More...
 
uint8_t device_tx_pdu_count
 The number of buffers used for saving ISO PDUs to be sent OTA.
 
uint8_t device_rx_pdu_count
 The number of buffers used for saving ISO PDUs received OTA.
 
uint16_t device_iso_ring_buff_element_size
 The size of ring buffer control block element used for saving info related to ISO PDUs to be sent/received OTA (includes the space for overheads). More...
 
uint8_t device_iso_ring_buff_element_count
 The maximum number of ring buffer control block elements used for saving info related to ISO PDUs to be sent/received OTA. More...
 
 wiced_bt_config_iso_pools_t
 
uint8_t count
 
uint8_t die_reserve
 
 wiced_dynamic_memory_pool_entry_t
 
wiced_dynamic_memory_pool_entry_t pools [MAX_DYNAMIC_MEMORY_NUM_POOLS]
 
 wiced_dynamic_memory_pools_cfg_t
 
wiced_dynamic_memory_pools_cfg_t dynamic_mem_config
 
wiced_app_entry_fn_t wiced_app_entry_fn
 
uint32_t app_thread_stack_size
 
void * app_iram_bss_begin
 
uint32_t app_iram_bss_length
 
void * app_iram_data_begin
 
uint32_t app_iram_data_length
 
void * app_irom_data_begin
 
uint8_t ble_con_max
 
uint8_t ble_rl_max
 
uint8_t enable_br_audio
 
void * p_br_audio_cfg
 
 wiced_pre_init_cfg_t
 

Detailed Description

WICED Application pre init configuration Interface.

This is the configuration for below HCI firmware and applicable only when application and firmware shares the processor resources.

The configuration Interface allows application to configure below:

  1. ACL buffer configuration - Size and number of ACL buffers for controller ACL process.
  2. Dynamic memory configuration - Number of pools and each pool size and buffer count of the pool
  3. Application entry - Application function entry to be called once firmware initialized
  4. Number of LE connections - Max number of LE connections

Variable Documentation

uint16_t device_claim_device_to_host_size

max size of the L2CAP segment contained in an upstream ACL data packet.

The size of buffers for device to host HCI ISO data packets (does not include the space for overheads).

uint16_t device_iso_pdu_size

The size of buffers for saving ISO PDUs to be sent/received OTA (includes the space for overheads).

uint8_t device_iso_ring_buff_element_count

The maximum number of ring buffer control block elements used for saving info related to ISO PDUs to be sent/received OTA.

uint16_t device_iso_ring_buff_element_size

The size of ring buffer control block element used for saving info related to ISO PDUs to be sent/received OTA (includes the space for overheads).

uint8_t device_to_host_count

The number of buffers for device to host ACL traffic.

The number of buffers for device to host HCI ISO data packets.

uint16_t device_to_host_size

The size of buffers for device to host ACL traffic = 4ByteAligned(device_claim_device_to_host_size + bufferOverhead)

The size of buffers for device to host HCI ISO data packets (includes the space for overheads).

uint8_t host_to_device_count

The number of buffers for host to device ACL traffic.

The number of buffers for host to device HCI ISO data packets.

uint16_t host_to_device_size

The size of buffers for host to device ACL traffic.

The size of buffers for host to device HCI ISO data packets (includes the space for overheads).

typedef STRUCT_PACKED
Initial value:
{
uint16_t host_claim_host_to_device_size