- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I used wiced_bt_create_pool() to create a pool in
static wiced_bt_buffer_pool_t *pbuffer_pool;
void hello_sensor_application_init( void )
{
...
pbuffer_pool = wiced_bt_create_pool(512, 1);
if(pbuffer_pool==NULL)
{
WICED_BT_TRACE( "wiced_bt_create_pool failed!\r\n" );
}
else
{
WICED_BT_TRACE( "wiced_bt_create_pool success!\r\n" );
}
...
}
Output
wiced_bt_create_pool failed!
What's wrong with wiced_bt_create_pool()?
Best regards!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JiZh_4619191,
Can you please try creating buffer pool of small size, lets say less than 200 or 256? Also, reduce the no. of default buffer pools in wiced_bt_cfg.c file.
Try printing the pool value after you creation:
WICED_BT_TRACE( "wiced_bt_create_pool %x\n", pbuffer_pool);
Lets see if this works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JiZh_4619191,
Can you please try creating buffer pool of small size, lets say less than 200 or 256? Also, reduce the no. of default buffer pools in wiced_bt_cfg.c file.
Try printing the pool value after you creation:
WICED_BT_TRACE( "wiced_bt_create_pool %x\n", pbuffer_pool);
Lets see if this works for you.