This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Peripheral/Broadcaster undiscoverable after disconnection

I have a peripheral/broadcaster that updates a uint16 dummy value in its advertData. This device goes undiscoverable when I disconnect from it (Meaning that when I use the LightBlue app, I can't see the device anymore). How can I make it discoverable again? I have the CC2541, and I'm using the 1.4 version.

  • You will need to re-enable advertising. This can be done by calling GAPRole_SetParameter and setting the GAPROLE_ADVERT_ENABLED parameter to TRUE.

    The SW developers guide has some documentation of the peripheral role profile.