currently I'm thinking about a project which will allow user to send information from a phone to server via PN532 NFC Module.
I'm stuck thinking about how to read I2C messages from PN532 with Java.
My first idea is to write java code to continuously read data from PN532 over I2C in a while loop, but I think there could be another, better way to do it. Could you tell me another way I could make my RPi continuously waiting for messages from PN532.
Have a nice day.