BLE GATT_Server and GATT_Client at the same time possible?
Posted: Mon Jan 23, 2017 3:49 am
Hi all!
I apologize if this question has already been asked and answered, but I couldn't seem to find an answer.
I am looking to use the ESP32 with both WiFi and BLE.
I know that as of the ESP-IDF v2.0-RC1 Bluetooth and WIFI concurrency is now possible.
However I am wanting to setup the ESP32 as both a BLE Peripheral and a BLE central.
Use Case:
3 BLE sensor nodes distributed in one room.
ESP32 acts as BLE Central and connects to all of the sensor nodes.
The ESP32 also acts as a BLE Peripheral so a user can connect to a single BLE device (ESP32) and see all of the data from the 3 different sensor nodes.
The ESP32 will also be setup as a WiFi AP to control lights and other connected devices based on the data from the sensor nodes.
So the overarching question is:
Can the ESP32 currently be setup as both a BLE peripheral and as a BLE Central?
If this is not currently possible, are there any plans to implement this in the future?
Thanks in advance!
- Lucas
I apologize if this question has already been asked and answered, but I couldn't seem to find an answer.
I am looking to use the ESP32 with both WiFi and BLE.
I know that as of the ESP-IDF v2.0-RC1 Bluetooth and WIFI concurrency is now possible.
However I am wanting to setup the ESP32 as both a BLE Peripheral and a BLE central.
Use Case:
3 BLE sensor nodes distributed in one room.
ESP32 acts as BLE Central and connects to all of the sensor nodes.
The ESP32 also acts as a BLE Peripheral so a user can connect to a single BLE device (ESP32) and see all of the data from the 3 different sensor nodes.
The ESP32 will also be setup as a WiFi AP to control lights and other connected devices based on the data from the sensor nodes.
So the overarching question is:
Can the ESP32 currently be setup as both a BLE peripheral and as a BLE Central?
If this is not currently possible, are there any plans to implement this in the future?
Thanks in advance!
- Lucas