Hi,
I’m new here, tried to find relevancies but no real answers came up.
As I’m getting a bit familiar with Blynk, I start get an impression that most of the examples use this different approach that the loop() contains barely anything and the library handles everything.
Well, what I would need to do is wrap the Blynk around my project where the main thing happens in the loop() and functions. Not the other way around, so I don’t want Blynk to do anything but make a channel of communication, nor I want to wrap my project around Blynk.
I tried to understand how does it work, so the idea was to take the bare bones only of the library, but I find only header files and no source code. Where is the source code? I would like to see what does the Blynk.run() do for example (or the SerialBLE), but couldn’t trace it back to it’s source.
All I’m curious of is the exact code for the virtual pins, how to address those, how to translate my own UART protokoll to these.
The other thing is BLE and ESP32. I saw that topic which says there’s no support yet, because there’s no Arduino implement yet (and here I’m already using BLE in Arduino and can connect to my Android in BLE UART apps). In the other hand in the mobile app I could select ESP32 with BLE as a device, but couldn’t connect with the BLE widget. Do I need the Blynk in the firmware first? I wouldn’t think I need anything on the device just to be able to connect to it.
What I’m trying to accomplish is to control my ESP32 over BT. I don’t use wifi or internet for this, so I don’t need the cloud part of the service, no servers at all.
Any input would be appreciated, thanks!