Hi!
How can I receive a notification on hardware every time the bluetooth device connects to it?
Can ESP32 BT mode use “BLYNK_APP_CONNECTED ()” in preliminary tests did not work.
Thanks for all the help!
Ps:Sorry… I do not speak English … Write even more rsrsrs
edit1:
void BlynkTransportEsp32_BT::onConnect() {
BLYNK_LOG1(BLYNK_F("BT connect"));
Blynk.startSession();
};
void BlynkTransportEsp32_BT::onDisconnect() {
BLYNK_LOG1(BLYNK_F("BT disconnect"));
Blynk.disconnect();
}
These lines of code (218-226) inside the “BlynkSimpleEsp32_BT_h” library seem to work exactly as I need them. But I do not know how to extract functionally.