• Hardware model + communication type: Arduino UNO with Bluetooth module HC-06
• Smartphone OS: Android 6.0.1
• App version: 2.26.4
• Blynk server
• Blynk Library version 0.5.3
Problem: In the Android app, when using Bluetooth classic, zeRGBa often (in about 50% of the cases) stops working after disconnecting (due to out-of-range) and reconnecting Bluetooth again
Create one zeRGBa widget on V0 in merge mode, send on release=0FF, write interval=100ms
Create one Button widget on V1
First run the application and test that V0 and V1 work.
Then go out the range of the device, but keep using zeRGBa widget (this is what kids really do) when leaving the connection range. Keep using zeRGBa when the connection is being made again when coming back in the range.
Now you can see (most of the time) that the connection comes back, the button widget clearly works. But zeRGBa widget doesn’t work anymore. You need to close the Blynk app and restart the app to get the widget working again.
- The same bug is in the joystick widget
- When using BLE instead of Bluetooth classic, it works ok
- When using setting “send on release=ON”, it works ok
#define BLYNK_PRINT Serial
SoftwareSerial BTSerial(2, 3); // RX, TX
char auth = "...";
// zeRGBa widget on V0 in merge mode, send on release=0FF, write interval=100ms
// Widget Button on V1
Output after reconnecting. V1 (button widget) clearly works, but zeRGBa widget (V0) doesn’t produce any byte on Bluetooth classic
 Heartbeat timeout: 124018, 108017, 122020
 Free RAM: 1516
(B.T.W. I discovered this issue during the development of the ESP32 Bluetooth (classic!) Blynk adapter. But I found out that the bug could be reproduced on HC-06)