how to use from C/C++ code access NFC & RFID Expansion
-
Hello,
I need to use NFC & RFID expansion from C/C++ code ,is there already compiled library which I can use...?
-Thanks
-Alok
-
For NFC you use libnfc
https://github.com/nfc-tools/libnfc
Not sure about RFID but I took a look at the script and it appears it publishes messages on Mosquitto.
-
How do I cross compile libnfc for onion omega2,it also depends on libusb and other ...
-Thanks
-Alok
-
@Alok-Mishra if you have a build environment installed you use:
scripts/feeds install libnfc
Select it under "libraries" in make menuconfig, the run make
-
@crispyoz said in how to use from C/C++ code access NFC & RFID Expansion:
install libnfc
I just did that ,output of make says libnfc compile( make[3] -C feeds/onion/libnfc compile) , but I do not see any object being built ( I am searching for ''nfc'', using find )
-
I found it libnfc gets built it is under ./staging_dir/target-mipsel_24kc_musl/usr/lib/
-Thanks
-Alok