BLE Advertising non discoverable mode / directed connectable mode

Anh-Minh
Posts: 13
Joined: Wed May 16, 2018 3:21 pm

BLE Advertising non discoverable mode / directed connectable mode

Postby Anh-Minh » Mon Jun 25, 2018 11:19 am

Hi,

I am actually using BLE with ESP32 to interact between an application and a server, and i am working with the nkolban C++ library.

I want the peripheral device be in discoverable mode before bonding with a central device, but then go into non-discoverable mode after the initial bonding, to have a exlusive connection between the two devices after the first connection. Another thing i want to do is to change the advertising mode of the device to "directed connectable mode" after the first connection to "fast reconnect".

Is there any way i can do that ? How can i change theses parameters ?

Thank you

Who is online

Users browsing this forum: Google [Bot] and 83 guests