BLE Advertising non discoverable mode / directed connectable mode
Posted: 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
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