Unable to advertise after shutdown of all connection

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

cross mob
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

Hi,

  I got one issue that is referring to multiple slave configuration (refer to Testing Master and Slave Roles).

bluez/gatttool -> 20737 (1st)

                            \---> 20737

                            \---> 20737

                            \---> 20737

                            \---> 20737

  I setup a client (most top root) on Linux system with bluez software utility which connects to one 20737, and this 20737 connects to 4 more slaves (still running 'hello_client'). There are numerous notifications coming from each 20737 and being aggregated at the first 20737 in this tree structure.

  The issue was happened without any specific timing (it ran well for a while, couple hours maybe), where suddenly the callback 'connDown' was called from ALL connections (including master and slave role) at first 20737. And then the first 20737 was unable to advertise any more.

  I tried to add test code for hooking the button interrupt to *re-enable* the advertising by calling 'bleprofile_Discoverable' with parameter 'HIGH_UNDIRECTED_DISCOVERABLE', but it still failed to advertise.

  Does anyone can help to comment this weird case?

0 Likes
3 Replies
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

Hi,

  There was another similar topic couple month ago, Re: Unable to advertising after tearing down of all connections (central + peripheral), but seems not yet to be answered.

0 Likes
Anonymous
Not applicable

Hello Hardy,

Are you using the SDK 2.2?

WICED-Smart-SDK-2.2-IDE-Installer (Windows)

Thanks

JT

0 Likes

Yes, I'm using 2.2.

0 Likes