arduino-esp32/libraries/BluetoothSerial
aridet 1ad5406946
Fix BluetoothSerial thinking it's disconnected (#7372)
Currently, if a second connection occur in Bluetooth, this second connection is automatically disconnected (line 284).
This disconnection trigger the ESP_SPP_CLOSE_EVT, which clear the bit SPP_CONNECTED.
But the first connection remain active, and this flag shouldn't be cleared.

This fix the issue, by clearing the flag only if the last connection is closed

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-12-19 15:02:18 +02:00
..
examples Allow BluetoothSerial::connect() with specified channel and more options (#6380) 2022-04-26 14:41:29 +03:00
src Fix BluetoothSerial thinking it's disconnected (#7372) 2022-12-19 15:02:18 +02:00
keywords.txt Add hasClient for BluetoothSerial (#1183) 2018-03-09 11:16:18 +01:00
library.properties Bump library versions to 2.0.0 (#5182) 2021-05-18 14:00:49 +03:00
README.md Add BluetoothSerial library (#1144) 2018-03-05 07:34:10 +01:00

Bluetooth Serial Library

A simple Serial compatible library using ESP32 classical bluetooth (SPP)

How to use it?