cyw20719b2 sds sleep with queue init done

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
anje_2248446
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

Hello,

I had a query here: https://community.cypress.com/t5/ModusToolbox-Bluetooth-SDK/Cyw20719b2-sleep-config/td-p/288360

So, I'm able to put the device in SDS sleep mode with WICED_SLEEP_MODE_NO_TRANSPORT as sleep mode, also wake with gpio pin works fine.

I have thread which uses a queue, the queue is initialized using wiced_rtos_create_queue() and wiced_rtos_init_queue() apis.

When sleep permit handler allows permission to sleep, device goes to SDS sleep if thread does not create and init the queue. But when queue is created and init is done device does not go to SDS sleep.

I tried to find if any api to free / deinit / delete the queue, but could not find it here:

https://infineon.github.io/btsdk-docs/BT-SDK/20721-B2_Bluetooth/API/group__queues.html#ga5a1885df28a...

Can you please help, to fix the issue ?

thanks,

Aniket Jesu

0 Likes
2 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @anje_2248446 , Can you share the project with the queue added? We would like to reproduce the issue at our end as well. Also, did you increase the max_number_of_buffer_pools parameters in the wiced_bt_cfg_settings_t structure?

Regards,
Bragadeesh
0 Likes
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Dear user,

This thread has been locked due to inactivity for more that three weeks. Please create a new thread if the issue is not resolved.

Regards,
Bragadeesh
0 Likes