HI, All
I'm trying BLE exchange between B4R and B4A codes. Using https://www.b4x.com/android/forum/threads/aes256-encrypted-ble-esp32-b4a-example.145872/.
All works OK only one connection try, but when "disconnect" is made (by manager.disconnect function) - new "Scan and connect" is impossible anymore.
Scanning is stopped after timeout. But the BLE device is alive for sure - Chrome-browser easily continue connecting and disconnecting from this BLE device (based on ESP32 module), and reading a GATT characteristic is OK also any time after connect.
But if to use the Airplane Mode for a second on the Android13 (device is in my post footer) - again B4A app scans and connects OK. Again only once.
Looks like BLEmanager2 lib does not disconnect well...
Any ideas ?
I'm trying BLE exchange between B4R and B4A codes. Using https://www.b4x.com/android/forum/threads/aes256-encrypted-ble-esp32-b4a-example.145872/.
All works OK only one connection try, but when "disconnect" is made (by manager.disconnect function) - new "Scan and connect" is impossible anymore.
Scanning is stopped after timeout. But the BLE device is alive for sure - Chrome-browser easily continue connecting and disconnecting from this BLE device (based on ESP32 module), and reading a GATT characteristic is OK also any time after connect.
But if to use the Airplane Mode for a second on the Android13 (device is in my post footer) - again B4A app scans and connects OK. Again only once.
Looks like BLEmanager2 lib does not disconnect well...
Any ideas ?
Last edited: