Configuring connection interval (WICED SDK 2.2.2 and BCM20736S)

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

We are using WICED SDK 2.2.2 and BCM20736S. We got struck while configuring connection interval.

We followed steps given in the attached document ("EMRF-BCM20732S-BOB-UserManual.pdf") and the connection interval is configured as follows,

    /*.high_undirect_adv_interval     =*/ 32,   // slots

    /*.low_undirect_adv_interval      =*/ 338, // slots

    /*.high_undirect_adv_duration     =*/ 30,   // seconds

    /*.low_undirect_adv_duration      =*/ 300,  // seconds

And, initialising the structure "BLE_PROFILE_CFG" using "bleprofile_Init(bleprofile_p_cfg)"

As per the document, the device is expected to advertise with a high interval of 20ms. Unfortunately, we are not getting this rather we are getting one advertisement per one second after booting up the board.

Also attaching the sniffer screenshot and the ble_ttl.c file.

Please, help us in resolving this issue

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

I noticed from your code that the below line was greyed out in the app_create function.

bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);

Can you insert this line right after your bleprofile_StartTimer()?

The lowest resolution for fine-timer is 12.5ms and I noticed that you have set it to 12ms. Can you

set it back to 12.5ms or 50ms?

View solution in original post

9 Replies