Topic: beginner question with libnfc

Hello everyone. I am beginner with libnfc, real beginner.

1. I have just purchased a Sony RC-S370 as I saw RC-S360 seems to be supported by libnfc.
I can tell from the material that you need a PN53x chip on the card reader so as to be supported,
but cannot find webpages that claim the existence of such chips in RC-S370 except for some
Japanese developer's blog.
wonder if Sony ever reveal it, or anyone know if RC-S370 is supported. Thank you.

2. my second question is that I am reading through the example provided here:
http://www.libnfc.org/api/examples_page.html

I saw the definition of "nmMifare" and the usage of "if (nfc_initiator_select_passive_target (pnd, PM_ISO14443A_106, NULL, 0, &nti)) {"

from my shallow knowledge I find that the "PM_ISO14443A_106" is of "pn53x_modulation_t" type, while the
"bool nfc_initiator_select_passive_target" function require its second parameter to be "nfc_modulation_t" type.
anyone who actually run the program? I came through this when I was reading the beginner level material.
Thank you all!

Re: beginner question with libnfc

Hello,

Sony RC-S360 have a partial support in libnfc (development version) but its hard to improve its support due to the confidential user manual of this product (while PN532 and PN533 manuals are now public).

If Sony RC-S370 is based on PN53x as RC-S360 was its possible to support it but will need a bit of work.

You can found some information about Sony device in nfcpy project which support these devices (nfcpy is sponsored by Sony so the user manual is available to the development team).

About your second question:
pn53x_* types are not public at all, please only use nfc_* types.
You should read some examples and utils available in libnfc archive (examples/ and utils/ folders).

I hope it helps.

Romuald Conty

Re: beginner question with libnfc

rconty wrote:

Hello,
About your second question:
pn53x_* types are not public at all, please only use nfc_* types.
You should read some examples and utils available in libnfc archive (examples/ and utils/ folders).

I hope it helps.

sorry to bother again. and thank you.

1. To be more specific, I only need to make a program to detect the existence of card reader and a Felica card,
quite like the example. I suppose the libusb and pcsc-lite are needed right?

2. so the example is somehow faulted and I must use the nfc_* types?
and when you say archive do you mean examples and utils/folders online?

or contained in the package below(or elsewhere?BTW I and running on Fedora currently)
http://www.libnfc.org/documentation/ins … #fedora_12

3. also another beginner question

does libnfc work on other platform other than x86? if I try cross compiling it using the correct cross compiler on PC(under Windows/Linux) and transfer the compiled file to other device(like a computer board with linux), will it work properly?

I succeed in cross compiling simple programs already, just wonder if importing the libnfc will be OK.

thank you very much for your quick reply.

Last edited by nutnutwin (2012-01-25 12:22:16)