[android-developers] Re: NFC at Digital Protocol Layer

2011-12-20 Thread ikki_fenix
hello!

If i right, you said me that i need to root my phone, didn't you?
If i don't, i can't access to libnfc-nxp resources, didn't I?

Best Regards,



On 20 dic, 02:52, Alex Che alexey.tchervin...@gmail.com wrote:
 Hello,

 You are right, I had to ask you more details to avoid confusion.

 In your case the only choice is libnfc-nxp. Its code is located in
 droid/external/libnfc-nxp. (droid is the root of android source code).

 I think (not sure though) the function needed for DEP are placed in
 droid/external/libnfc-nxp/src/phHciNfc.h and phHciNfc.c, namely
 *_Select_Target and *_Exchange_Data.

 Please share your experience,
 Best Regards,
 Alexei

 On Dec 15, 11:13 am,ikki_fenixpiltzin1...@gmail.com wrote:







  Hello,

  I'm looking for information about it's possible stablish a P2P
  connection between Android phone and NFC card at NFC-DEP level
  (digital protocol layer) without the higher layers.
  I know that Android 4.0 it's possible to stablish a P2P connection
  using SNEP or NPP protocols but if i can I'll do it at digital
  protocol layer.
  is it possible?

  Thanks for your replay.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC at Digital Protocol Layer

2011-12-20 Thread Alex Che
Hello,

I do not know exactly about rooting for libnfc-nxp. I have no
experience with the phones. You should to try or to ask someone else.

Best regards,
Alexei

On Dec 20, 11:59 am, ikki_fenix piltzin1...@gmail.com wrote:
 hello!

 If i right, you said me that i need to root my phone, didn't you?
 If i don't, i can't access to libnfc-nxp resources, didn't I?

 Best Regards,

 On 20 dic, 02:52, Alex Che alexey.tchervin...@gmail.com wrote:







  Hello,

  You are right, I had to ask you more details to avoid confusion.

  In your case the only choice is libnfc-nxp. Its code is located in
  droid/external/libnfc-nxp. (droid is the root of android source code).

  I think (not sure though) the function needed for DEP are placed in
  droid/external/libnfc-nxp/src/phHciNfc.h and phHciNfc.c, namely
  *_Select_Target and *_Exchange_Data.

  Please share your experience,
  Best Regards,
  Alexei

  On Dec 15, 11:13 am,ikki_fenixpiltzin1...@gmail.com wrote:

   Hello,

   I'm looking for information about it's possible stablish a P2P
   connection between Android phone and NFC card at NFC-DEP level
   (digital protocol layer) without the higher layers.
   I know that Android 4.0 it's possible to stablish a P2P connection
   using SNEP or NPP protocols but if i can I'll do it at digital
   protocol layer.
   is it possible?

   Thanks for your replay.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC at Digital Protocol Layer

2011-12-19 Thread ikki_fenix
Hello, I'm going to read the information that you had me but after
that i have some questions:

if I'm not mistaken, the android phones that supports NFC have PN65N
or PN544 chip and libnfc doesn't support those chips. am i mistaken?
if libnfc doesn't support those chips why i am interested in doing a
port to android?

thanks for your replay

On 16 dic, 12:21, Alex Che alexey.tchervin...@gmail.com wrote:
 Hi,

 I am not guarantee my information ultimately exact.

 1. AFAIK, Google use libnfc-nxp library which has functions for P2P
 data exchange, may be it is actually DEP.
 2. There is open-source libnfc library intended for Linux. It provides
 DEP exchange, I tried it with SCL3711 (PN533 chip) dongles. There is a
 document of porting libnfc to Android, but I did not follow it yet.

 In my mind, both approaches assume programming on NDK level (in C).

 References:
 libnfc-nxp:http://wenku.baidu.com/view/4c4c18202f60ddccda38a024.html?from=relate...
 libnfc:http://www.libnfc.org/documentation/introduction
 Porting libnfc to 
 Android:http://appelmelk.wordpress.com/2011/02/17/porting-libnfc-to-android/,http://www.few.vu.nl/~hak300/libnfc_to_android.pdf

 Hope this helps.
 Best regards,
 Alexei

 On Dec 15, 12:13 pm,ikki_fenixpiltzin1...@gmail.com wrote:







  Hello,

  I'm looking for information about it's possible stablish a P2P
  connection between Android phone and NFC card at NFC-DEP level
  (digital protocol layer) without the higher layers.
  I know that Android 4.0 it's possible to stablish a P2P connection
  using SNEP or NPP protocols but if i can I'll do it at digital
  protocol layer.
  is it possible?

  Thanks for your replay.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC at Digital Protocol Layer

2011-12-19 Thread Alex Che
Hello,

You are right, I had to ask you more details to avoid confusion.

In your case the only choice is libnfc-nxp. Its code is located in
droid/external/libnfc-nxp. (droid is the root of android source code).

I think (not sure though) the function needed for DEP are placed in
droid/external/libnfc-nxp/src/phHciNfc.h and phHciNfc.c, namely
*_Select_Target and *_Exchange_Data.

Please share your experience,
Best Regards,
Alexei



On Dec 15, 11:13 am, ikki_fenix piltzin1...@gmail.com wrote:
 Hello,

 I'm looking for information about it's possible stablish a P2P
 connection between Android phone and NFC card at NFC-DEP level
 (digital protocol layer) without the higher layers.
 I know that Android 4.0 it's possible to stablish a P2P connection
 using SNEP or NPP protocols but if i can I'll do it at digital
 protocol layer.
 is it possible?

 Thanks for your replay.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC at Digital Protocol Layer

2011-12-18 Thread Alex Che
Hi,

I am not guarantee my information ultimately exact.

1. AFAIK, Google use libnfc-nxp library which has functions for P2P
data exchange, may be it is actually DEP.
2. There is open-source libnfc library intended for Linux. It provides
DEP exchange, I tried it with SCL3711 (PN533 chip) dongles. There is a
document of porting libnfc to Android, but I did not follow it yet.

In my mind, both approaches assume programming on NDK level (in C).

References:
libnfc-nxp: 
http://wenku.baidu.com/view/4c4c18202f60ddccda38a024.html?from=relatedhasrec=1
libnfc: http://www.libnfc.org/documentation/introduction
Porting libnfc to Android: 
http://appelmelk.wordpress.com/2011/02/17/porting-libnfc-to-android/,
http://www.few.vu.nl/~hak300/libnfc_to_android.pdf

Hope this helps.
Best regards,
Alexei


On Dec 15, 12:13 pm, ikki_fenix piltzin1...@gmail.com wrote:
 Hello,

 I'm looking for information about it's possible stablish a P2P
 connection between Android phone and NFC card at NFC-DEP level
 (digital protocol layer) without the higher layers.
 I know that Android 4.0 it's possible to stablish a P2P connection
 using SNEP or NPP protocols but if i can I'll do it at digital
 protocol layer.
 is it possible?

 Thanks for your replay.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en