Pairing or bonding from ESP32 Central using NimBLE stack
Posted: Mon Apr 20, 2020 10:32 am
Hello,
I am new to ESP32 BLE and also new to this forum.
I am developing an application using BLE of ESP WROOM32 module.
Here is my current development setup information:
IDF version: ESP-IDFv4.0
IDE: Eclipse IDE
OS: Ubuntu 16.04LTE
I am using ESP-IDF v4.0 for development using free-rtos.
I am currently using NimBLE stack for development as my application only requires BLE support.
I require the ESP WROOM32 module to be configured as BLE central and able to connect to dedicated peripheral and communicate over secure link.
I am able to communicate with BLE peripheral without pairing or bonding.
I am unable to configure pairing process from central BLE.
I saw the examples of NimBLE Central but that doesn't show anything for pairing or bonding process.
I am currently having few queries regarding pairing and bonding process.
1. what are the steps required for initiating pairing or bonding with peripheral from central?
2. what are the api's required?
3. what events would trigger?
4. And how to handle it?
Please provide any example code or guideline(i.e. any document) for pairing and bonding process in ESP32 using NimBLE stack.
Looking forward to your response.
I am new to ESP32 BLE and also new to this forum.
I am developing an application using BLE of ESP WROOM32 module.
Here is my current development setup information:
IDF version: ESP-IDFv4.0
IDE: Eclipse IDE
OS: Ubuntu 16.04LTE
I am using ESP-IDF v4.0 for development using free-rtos.
I am currently using NimBLE stack for development as my application only requires BLE support.
I require the ESP WROOM32 module to be configured as BLE central and able to connect to dedicated peripheral and communicate over secure link.
I am able to communicate with BLE peripheral without pairing or bonding.
I am unable to configure pairing process from central BLE.
I saw the examples of NimBLE Central but that doesn't show anything for pairing or bonding process.
I am currently having few queries regarding pairing and bonding process.
1. what are the steps required for initiating pairing or bonding with peripheral from central?
2. what are the api's required?
3. what events would trigger?
4. And how to handle it?
Please provide any example code or guideline(i.e. any document) for pairing and bonding process in ESP32 using NimBLE stack.
Looking forward to your response.