Can't resolve com.android.npp
In order to implement the NPP protocol on top of LLCP to achieve P2P communication with the Nexus S the first step is to resolve the "com.android.npp" service, but it seems it is not working. I modified the llcp-test-client for this:
$ ./llcp-
searching for a usb tty reader
searching for a usb bus reader
trying reader at usb port 029:002
chipset is a PN533 version 2.07
ATR_RES(
running on Initiator
recv-lto: 1500
recv-miu: 1024
recv-wks: 3
send-agf: False
send-lsc: 3
send-lto: 1000
send-miu: 128
send-wks: 1
Test 9: service name lookup
shutdown on link disruption
FAIL: no answer for 'com.android.npp' lookup
I was the Initiator
Am I doing something wrong or is it another Android bug?
Also, I've noticed that after running the LLCP test my reader seems to disappear from the USB bus. If I run this again:
$ ./llcp-
searching for a usb tty reader
searching for a usb bus reader
Traceback (most recent call last):
File "./llcp-
main()
File "./llcp-
clf = nfc.Contactless
File "/Users/
raise LookupError(
LookupError: couldn't find any usable nfc reader
I then have to remove and insert the USB reader to have it detected.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask André Cruz for more information if necessary.