|
|
Subscribe / Log in / New account

NFC programming on desktop Linux

NFC programming on desktop Linux

Posted May 29, 2015 23:05 UTC (Fri) by gerdesj (subscriber, #5446)
Parent article: NFC programming on desktop Linux

Thanks for doing some research on this - it will save me a fair amount of time.

I had this idea that as I generally keep my mobile (cellphone) in my pocket then my laptop could unlock when it senses it and lock when I move away. I could override this with a password or a token or something if the laptop is on a desk and/or my mobile is in the car/toilet.

I was about to make a silly quip about waiting for pam_nfc to appear and then did a quick Google - http://nfc-tools.org/index.php?title=Pam_nfc . I even guessed the name correctly.

Play time!


to post comments

NFC programming on desktop Linux

Posted May 30, 2015 9:16 UTC (Sat) by jnareb (subscriber, #46500) [Link] (3 responses)

NFC has a very, very short range of about 4 cm; in practice you usually need to touch the back of smartphone to NFC tag (this is at least the case of MasterCard PayPass). This is similar to how you unlock the door with the smart card, or pay for bus or subway - you need to almost touch the reader.

For "neighbourhood" (around 0.5 meter - 1 meter) unlocking you would need Bluetooth, I think.

NFC programming on desktop Linux

Posted May 30, 2015 22:59 UTC (Sat) by gerdesj (subscriber, #5446) [Link] (2 responses)

"NFC has a very, very short range of about 4 cm; in practice you usually need to touch the back of smartphone to NFC tag"

Thanks for the response. This occurred to me shortly after I "paid by bonk" for a coffee today and had to contort myself to actually get at the bloody reader that was positioned badly by the till and other stuff on the counter.

NFC is clearly not what I'm looking for here unless I want to be seen playing pocket billiards whilst attempting to get my mobe and laptop in the right position. The left hand side USB ports are towards the rear (as I see it) of my laptop, near my knees, which is the side I usually have my mobile. Now the RHS ones are at the front - right next to my pocket.

Bluetooth it is then.

NFC programming on desktop Linux

Posted May 31, 2015 22:18 UTC (Sun) by dash (guest, #6182) [Link] (1 responses)

In that case you might be interested in BlueProximity which is packaged at least in Debian and derivatives.

NFC programming on desktop Linux

Posted May 31, 2015 23:28 UTC (Sun) by gerdesj (subscriber, #5446) [Link]

"In that case you might be interested in BlueProximity which is packaged at least in Debian and derivatives."

Thanks for the heads up. As it turns out Gentoo is pretty multi-lingual and I'm sure it speaks Debian - I know it can deal with RedHat (but with a pretty bad accent)

Cheers
Jon


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds