The next Blynk Library release 0.5.0 is available for BETA testing.
It includes some major changes in the internal logic, which can improve stability a lot, as well as make it easier to use.
From the first glance, it can be hard to spot the difference, but in fact it enables you to run any number of Blynk commands (virtualWrite(), setProperty(), etc.) in a row!
Among other changes (we’ll announce the full list with the 0.5.0 release), this also includes:
Library is refactored, easier to run on 3rd party hardware, etc.
As this update contains many (possibly breaking) changes, we’re doing this beta release to get early feedbacks from our bravest community members
Please check out the latest library, and give your feedback in this thread (be sure to specify the hardware you’re using).
The update is available in master branch: https://github.com/blynkkk/blynk-library/archive/master.zip
@vshymanskyy regarding running commands in a row and the SSL bug. They are predominately Arduino ESP8266 Core 2.3.0 bugs. Are you still running 2.3.0 and if not is the SSL issue still a problem in the vastly improved 2.4.0-rc2 core?
Actually, I have thought about it, but I didn’t have the setup to run a separate (accessible) IDE with this library, and was unwilling to take chances with what I have working already…
But now I think I can attempt running an IDE on my RPi3 and perhaps then test some BLE connections with my ESP32… will give it a go…
Hello, I have an ESP32 module and willing to test/experiment for you. But I will need some guidance installing the correct libraries for the ESP32. I have already tried out a few but did not manage to get much results though… Let me know if you want me to test !
Be prepared that this heads into somewhat “advanced” levels… the idea is for us testers to offer the developers support (as we trip over all the bugs ), not the other way around.
Installing the Arduino-ESP32 CORE is not a Blynk specific thing… here is the direction for that from espressif. But you will need to ask over on their forums/support for any instalation issues you encounter.
And installing Blynk Library 0.5.0 is absolutely no different than any other version, except where you get it from… that link is in the first post above.
I assume installing the 0.5 Beta library is the same as any other ? Sketch - Include Library - Add ZIP File ?
I did this with the downloaded ZIP File blynk-library-master.ZIP from the link you provided. Restarted Arduino. In Manage Library it still shows 0.4.10 ? (See screenshot attached)
Managed to istall everything including the arduino-esp32-master. Selected one of the Blynk master examples and compiled (my board is DOIT ESP32 Dev Kit 1.0 but run in to the following error :
blynk-library-master\src/BlynkSimpleEsp32_BLE.h:53:19: error: ‘createServer’ is not a member of ‘BLEDevice’
I believe so … Faslhing the device went OK, no errors. When the device boots I get following :
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
You may not have the sketch properly installed?? You can try to enable DEBUG mode and see if that shows any info in the Serial Monitor.
However I would caution you… AFAIK none of this is touching on the BETA library yet, so if you are already running into issues, you might want to step back and just work with the stable library and with non-BLE related configurations for now
Meanwhile I succesfully compiled, no errors in debug window, the sketch and uploaded it in my ESP32. In the Blynk App I have added the BLE (Beta) widget. When I click on “Connect BLE device” I ghet the “Select BLE device” but none is shown ? The Device in Blynk App is as follows :