Topic: Nexus S

Getting started with Nexus S NFC/RFID. Can anyone provide any guidance?

I'm interested in creating some home brew demos using the nexus s NFC/RFID hardware.

I think I need to find the appropriate tags and how to encode urls into tags that the nexus s can read by it's tags app.

Not sure about iso 14443 tags or mifare etc

Does nexus s support all of libnfc?

If I root the device can I get acces to write functionality?

Also want to write some background apps that poll the NFC occasionally.

Thanks



Thanks

Re: Nexus S

chuckfletcher wrote:

Can anyone provide any guidance?

What kind of guidance are you expected for ? Nexus S is a phone that can communicate using NFC; So from libnfc's point of view, that's exactly the same than other NFC devices.

chuckfletcher wrote:

I'm interested in creating some home brew demos using the nexus s NFC/RFID hardware.

If you want to code for Nexus S, a dedicated forum should be more appropriated.

chuckfletcher wrote:

I think I need to find the appropriate tags and how to encode urls into tags that the nexus s can read by it's tags app.

IMHO, you should have a look to standards like NFC forum's ones and maybe ISO14443 (mainly -3 and -4).
This way you will do standard things, so that will work on any NFC Forum compiliant device (not only Nexus S).

chuckfletcher wrote:

Not sure about iso 14443 tags or mifare etc

MIFARE tags are the most used family in ISO14443 tags and the more easily available. I recommend you to not use MIFARE Classic if you want to do some secured things.

chuckfletcher wrote:

Does nexus s support all of libnfc?
If I root the device can I get acces to write functionality?
Also want to write some background apps that poll the NFC occasionally.

These questions are Nexus S related, so please ask them on appropriated forum.
BTW, libnfc experiments reports, even using Nexus S device, are more than welcomed here.

Romuald Conty

Re: Nexus S

Thought I'd just mention briefly here that I had a very short opportunity (5 minutes or so!) to play with a Nexus S and libnfc on a Touchatag reader.

I only really tried the nfc-emulate-uid command. The Nexus S managed to notice there was an emulated card there, but somehow picked up a different UID. (It was something like 0x000800B5 instead of 0xDEADBEEF).

May be useful in case anyone wanted to know if the Nexus S would be compatible with the slightly off timings when emulating things on the touchatag. Seems like the answer is 'sort of'.

If I get another chance to use one I'll try a bit harder and let people know.

Last edited by milkmansrevenge (2011-03-28 15:48:17)

Re: Nexus S

rconty wrote:

What kind of guidance are you expected for ? Nexus S is a phone that can communicate using NFC; So from libnfc's point of view, that's exactly the same than other NFC devices.

I asume in how to get the libnfc functions going on this hardware...
...and here's another person who wants the same, in particular emulation.

chuckfletcher wrote:

Does nexus s support all of libnfc?
If I root the device can I get acces to write functionality?
Also want to write some background apps that poll the NFC occasionally.

On a rooted Android you still cannot seem to compile (or am I wrong?).
So my try is the NDK (Native Developer Kit).
With this you wont need this specific hardware to compile.
Then my next problem -I guess- will be missing NFC hardware in that compile-environtment.
Inside the Samsung Nexus S is the PN544 chip.
My C programming is not my best skill, so have no clue (yet) about how to control compilation using .mk files yet, that are needed to make the ndk commands compile the binairies.

If anyone (even those without this particular hardware) can provide pointers or hint, please let me know.
For the next two weeks I have a Nexus S available, which I made 2.3.3, and is dedicated to get libnfc going.

rconty wrote:

These questions are Nexus S related, so please ask them on appropriated forum.

Starting at http://www.libnfc.org/community this forum was my first guess I was hoping to see the answer on the same question. What would be the appropriated forum?