-
Notifications
You must be signed in to change notification settings - Fork 7.6k
BluetoothSerial library restart sketch when remote device reconnect #1181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
it's an IDF bug that was solved today: espressif/esp-idf#1537 so it will work here in the next IDF compilation or using arduino as IDF component
I will implement it soon =) |
Here it is: #1183 |
hasClient() works 👍 I hoped that it will solve my problem but no :(
detection itself works very nice, client reconnecting do not cause resets so...we are waiting for a final solution in IDF... I leave this issue open |
fix finally merged: espressif/esp-idf#1537 (comment) |
now it depends of @me-no-dev to recompile the IDF for arduino |
Done! |
👍 done :) |
is the password function merged? If yes, how to use to BluetoothSerial? |
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: Latest GIT version 05/03/2018
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600
Description:
Sketch starts normally,
when I connect android client (Serial Bluetooth), I got printed text, everything works right.
Next I disconect android client, still sketch works ok
but when I reconnect android client one more time I got this message:
and esp32 restart
BTW...is there any possibility to detect if remote device is connected?
and write/print to this device only when connected?
Sketch:
Debug Messages:
ESP Exception Decoder:
UART Debug
The text was updated successfully, but these errors were encountered: