I've got my breakout board connected up with a FTDI FT232RL to my Mac and the jumpers set to UART, with the USB serial connection showing up as "tty.usbserial-A8004wbx" in /dev/. Grabbed the source of libnfc, configured and made it with the "--with-drivers=pn532_uart --enable-serial-autoprobe --enable-debug" flags set, and once it's made, run nfc-list.
Code: Select all
$ nfc-list
nfc-list use libnfc 1.5.0 (r1019)
nfc-list: DBG nfc.c:227
nfc-list: 0 device(s) found using PN532_UART driver
No NFC device found.
Code: Select all
$ ack UART
...
libnfc/buses/uart_posix.c
46:# if defined(__APPLE__)
47:char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", NULL };
...
Code: Select all
$ git diff
diff --git a/libnfc/buses/uart_posix.c b/libnfc/buses/uart_posix.c
index b430287..5a2a104 100644
--- a/libnfc/buses/uart_posix.c
+++ b/libnfc/buses/uart_posix.c
@@ -47,7 +47,7 @@
# if defined(__APPLE__)
// FIXME: find UART connection string for PN53X device on Mac OS X when multiples devices are used
-char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", NULL };
+char *serial_ports_device_radix[] = { "tty.usbserial-A8004wbx", NULL };
Code: Select all
$ nfc-list
nfc-list: 0 device(s) found using PN532_UART driver
No NFC device found.
Thanks