How to connect Adafruit NFC Shield to a Mac, via libnfc

Intro I’ve recently been experimenting with NFC projects. The first test was done using an Adafruit NFC Shield for Arduino. I was able to get my code working with the default setup (that is using the shield with an Arduino). However, as I need to test Peer-to-Peer mode (P2P for short) in NFC, I quickly found out that this is not something easy to do with an Arduino. While the PN532 chip on the shield do have such capability, the Arduino libraries are far from being mature and don’t support this, yet :-( So, I decided, I should first try out libnfc and if it works, I could replace my Arduino with a Raspberry Pi. »