I'm trying to communicate with RC522 module using ESP8266 and Mongoose OS.
Is there any way to integrate RC522 library and call it from JS ?
Please wait for about day or two, I am working on a some initial documentation for that.
Did you have any progress on this?
You can port an arduino library - see the procedure at https://mongoose-os.com/docs/overview/apps.html
And examples at https://mongoose-os.com/libs.html
@Sergey please help me out to get rid off it, i am not able to add MFRC522 library in mongoose.
I did start to port the MFRC522 library here
Feel free to continue to make it work. I don't have the device.
@nliviu Every Thing is good you really did a great work in this repo.
there is a problem of a compiler with error.
"This library needs at least a C++11 compliant compiler, maybe compiler argument for C++11 support is missing or if you use Arduino IDE upgrade to version >=1.6.6"
I really wont understand how to resolve it with mongoose.
The library is only C++ compatible. You should use it in a .cpp file.
Hi @nliviu @Sergey
i am able to build successfully MFRC522 library, but there may be a bit issue which i wont able to understand. every thing looks good but.
and the code works fine in arduino.
check the library here
looks like an empty project to me