News and announcements

Limited P2P between Nexus S and SCL 3711

Written for nfcpy by Stephen Tiedemann on 2011-06-18

Recent tests with a Google Nexus S and the NDEF Push Server examples/npp-test-server.py brought up an interesting communication problem between those two. If the Nexus S runs as the NFC-DEP Initiator, which can be forced by setting "--mode target" option for the npp-test-server, an NDEF message sent from the Nexus should not be more than 59 bytes. If the NDEF message is longer the SCL 3711's PN533 complains about a DEP protocol error which is currently just the end of the game. No known workaround yet.

LLCP with Android 2.3 (Nexus S)

Written for nfcpy by Stephen Tiedemann on 2011-05-03

Android 2.3 has LLCP and allows sending NDEF across another phone, but did not immediately work with nfcpy. Actually running nothing else than the llcp-test-server should make the phone least exchange symmetry packets with nfcpy quite happily. Turned out that the LLCP stack on the Nexus S is still a little buggy, it doesn't support aggregation of PDUs (i.e. can't disaggregate) and if it becomes the NFC-DEP Target looses the first PDU if that comes within the first 100 ms after LLCP link activation. Until that gets fixed, an nfcpy user code needs to delay 100 ms if it has become Initiator and must set the new configuration option "send-agf" as false. For the llcp-test-client and server the command line flag "--quirks=android" will do the trick.

LLCP working over RF

Written for nfcpy by Stephen Tiedemann on 2010-09-21

The LLCP code is now working with a Sony PaSoRi reader RC-S330. Tested successfully between two RC-S330 but with active communication mode (NFCIP-1 active mode). Performance is about 60 kbit/sec unidirectional. Not sure how much Python and USB are a gating factor, it could actually be a bit faster I'd hope.

LLCP now implemented

Written for nfcpy by Stephen Tiedemann on 2010-09-15

An implementation of the NFC Forum's LLCP specification for data exchange between two NFC devices is now part of the code. Two example scripts demonstrate how to program both servers and clients on top of the socket-like interface. At the same time the two examples serve as a test tool for the library's LLCP functionality. Development and testing was using the TCP/IP based simulation of the ISO18092 data exchange protocol instead of real RF communication. Verification on RF is still a future task.

Initial version of nfcpy

Written for nfcpy by Stephen Tiedemann on 2010-01-30

I finally got this code settled on launchpad. The nfcpy module allows use of an NFC reader to read/write NFC tags or communicate with another NFC device. This initial version supports only a single reader, the Sony PaSoRi RC-S330, and device communication is just raw ISO18092 data exchange protocol. Surely hardware support needs to be improved and support of the just released NFC Forum LLCP specification (logical link control - for peer-to-peer communication) shall be added soon.

Updated .

1115 of 15 results

Announcements