Connection status pin

Sundar
Posts: 5
Joined: Tue May 15, 2018 2:22 pm

Connection status pin

Postby Sundar » Thu Jul 19, 2018 9:28 am

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Connection status pin

Postby kolban » Fri Jul 20, 2018 9:44 pm

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Bing [Bot] and 102 guests