Replies: 2 comments
-
At the moment, RadioLib does not support being directly used from C code, that would require a C API for all public C++ methods. It could be interesting to have that option, however, there are probably a few hundred public methods in RadioLib so it is a rather daunting task. However, using C from C++ code is much easier, so it would make more sense for you to use C++ as the main language and only use C for the parts that really need it.
No it's not, it's a mix of C and C++, check the components folder. |
Beta Was this translation helpful? Give feedback.
-
@jgromes Thanks for taking time to answer such an noob questiton ^^ |
Beta Was this translation helpful? Give feedback.
-
I would like to use the Radiolib in this project witch is C code:
https://github.com/nopnop2002/esp-idf-video-streaming
Do I need to edit all .h files to tells the compiler it's C++ code instead of C ?
Is there a simple way to use this lib for a C project ?
Beta Was this translation helpful? Give feedback.
All reactions