After trying the updated library with the ESP32, I was not able to get the ESP32 to connect to my iPhone 6. I am willing to test any code for you if needed. If the ESP32 does work with BLE, I will be able to incorporate Blynk into a locking mechanism for a team at my college.
[31126] BLE connect
E (44693) BT: lmp_version_below LMP version 6 < 8
E (44695) BT: l2cble_start_conn_update, the last connection update command still pending.
[33089] BLE disconnect
[33089] Disconnected
[39908] BLE connect
[32173] BLE connect
E (46738) BT: lmp_version_below LMP version 6 < 8
E (47367) BT: FOR LE SC LTK IS USED INSTEAD OF STK
[36493] BLE disconnect
[36493] Disconnected
[120892] BLE connect
E (135513) BT: lmp_version_below LMP version 6 < 8
E (135515) BT: l2cble_start_conn_update, the last connection update command still pending.
E (135872) BT: FOR LE SC LTK IS USED INSTEAD OF STK
[122845] BLE disconnect
[122845] Disconnected
Yes, just this moment. The latest Espressif ESP32-Arduino version and the latest ESP32_BLE_Android 0.4.9 version from the git repos do work as well with my setup.
Well, for the first time in ever… I can say I have a spare ESP32 and thus was able to give this a try.
I simply loaded in the base sketch from the GitHub link above and added in some existing code for a physical RGB LED
It showed up as Blynk and didn’t want to connect on my older Samsung Note8 tablet… so far… but connected right away on my LG G6
Latest ESP32 core (do they even have version numbers? If so, where?)
Blynk 0.5.2
ESP32 DEVKIT (no name clone?) (Chip rev1)
Android 7.0
App 2.20.1
Local Server (if that matters)
The ESP32/Blynk BLE link is WORLDS stabler than my old LightBlueBean… I think I might bury it (the LBB, not the ESP ) and see what kind of a beanstalk grows from it
Hi friends. I compiling example for ESP32 BLE but I cannot connecting to BLE. in the serial monitor getting error with big packets.
the error:
[10496] BLE connect
E (17775) BT: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0013
[17760] BLE disconnect
[17760] Disconnected
[47448] BLE connect
[58271] Packet too big: 14435
[58271] Packet too big: 12641
[58271] Packet too big: 12897
the example code for ESP32 BLE:
#define BLYNK_PRINT Serial
#define BLYNK_USE_DIRECT_CONNECT
#include <BlynkSimpleEsp32_BLE.h>
#include <BLEDevice.h>
#include <BLEServer.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "c0e04624c9a747a9838c5811aed72aca";
void setup()
{
// Debug console
Serial.begin(9600);
Serial.println("Waiting for connections...");
Blynk.begin(auth);
}
void loop()
{
Blynk.run();
}