BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

ESP32 IDF with Blynk without Arduino

Hello,

I’m using ESP32-IDF (Espressif SDK based on FreeRTOS) with Eclipse-IDE, because I’m used to work in C and don’t like the Arduino coding style. But now I want to use Blynk in my project still without Arduino. I’m not very familiarize with C++ and I don’t know which interface I have to implement by myself. I tried a little but always ending at arduino.h, which I don’t have in my project :wink:

Can anyone help me or give me some hints where I can find more information about the blynk class design and interfaces?

Thank you very much…
Bastian

Blynk is very portable, the same C++ source code can be used.
You’ll have to (mostly):

  • Remove Arduino-related stuff like headers and direct pin operations. Similar to what BLYNK_NO_BUILTIN flag does.
  • Implement the connectivity transport adapter. See example in src/Adapters/BlynkSerial.h
  • Implement main include header, like src/BlynkSimpleStream.h
  • Implement utility/debug functions: src/Blynk/BlynkDebug.h, src/utility/utility.cpp
1 Like

Hey Bastian,

I’m also interested in doing the same thing for the very same reasons :wink: I was wondering if you have been able to do it.

Thanks