Page 1 of 1

Connection status pin

Posted: Thu Jul 19, 2018 9:28 am
by Sundar
hi,
Is there any Status indication pin(GPIO) for Classic bluetooth in ESP32? ,Like the polarity changes in the pin if the Bluetooth is paired and not paired.

Re: Connection status pin

Posted: Fri Jul 20, 2018 9:44 pm
by kolban
Not by default. However, within the ESP-IDF you can be notified by event callbacks of events that occur at the BLE level. Your own event handlers can then choose to change the state of GPIO pins to externally reflect internal state. This would be a combination of BLE event handling and GPIO state in your own application logic.