Hi all, Thanks for your answer. There is another implementation of NFC on Linux which works really well: https://github.com/NXPNFCLinux/linux_libnfc-nci (Apache License, Version 2.0) It is based on libnfc but they added layers to do SNEP over LLCP so it works with an Android smartphone.
On 15 March 2016 at 17:38, VanCutsem, Geoffroy <geoffroy.vancutsem at intel.com> wrote: > Hi Zoltan, > > > > > > From: iotivity-dev-bounces at lists.iotivity.org > [mailto:iotivity-dev-bounces at lists.iotivity.org] On Behalf Of Kis, Zoltan > Sent: Tuesday, March 15, 2016 12:58 PM > To: Jack Mingaw <jack.mingaw at gmail.com> > Cc: iotivity-dev <iotivity-dev at lists.iotivity.org> > Subject: Re: [dev] NFC on Linux > > > > On Wed, Mar 9, 2016 at 3:46 PM, Jack Mingaw <jack.mingaw at gmail.com> wrote: > > Hi, > > I've seen that Iotivity 1.1.0 is going to have a NFC plugin for > Android, that's great! I'm wondering if there is a plan to develop NFC > on linux in order to make an IoT device (with Linux) communicate with > android. This would be great to easily pair two devices. > > What is the current state of Iotivity NFC on Linux? > > > > For pairing two devices via NFC is not IoTivity specific. On Linux, there is > the NFC daemon neard, it currently (0.15) does not yet support handover, > though it's work in progress. > http://git.kernel.org/cgit/network/nfc/neard.git/tree/doc/features.txt (GPL, > DBUS API). > > [Geoffroy] that file is most likely out-of-date (last update was in February > 2014). IIRC neard already supported some form of handover more than a year > ago, off the top of my head, this may have been only static hand-overs but > it worked for BT and WiFi. I?d be a little surprised if they haven?t made > any progress on that lately. Have you checked with the project maintainers > for the specifics? > > Also, there is libnfc, > https://github.com/nfc-tools/libnfc (LGPL). > which is not a ready solution either: > https://github.com/nfc-tools/libnfc/blob/master/include/nfc/nfc.h > > So it seems we are at the mercy of proprietary NFC stacks and quirks of > various adapters and drivers. Specifically the Android NFC works, but > generally on Linux NFC is hard to support. NFC standardization so far is an > utter failure in practice. > > Best regards, > > Zoltan > > > > Technical Marketing Engineer Manager > > Open-Source Technology Centre > > Tel: +32 (0)3 450 0851 > > > > ----------------------------------------------- > > Intel Corporation NV/SA > > Kings Square, Veldkant 31 > > 2550 Kontich > > RPM (Bruxelles) 0415.497.718. > > Citibank, Brussels, account 570/1031255/09 > >
