Topic: [SOLVED] emulate-tag abort
Hi there!
I'm using a SCL3711 (pn533) dongle on a Ubuntu 11.04 to emulate an NFC Forum type2 tag. I followed the current example for the type4 tag and I know that it works, since I read the tag correctly with another reader. So far so good. My issue is that I need to abort the blocking call (nft_target_init), and I'm doing it just like the example (nfc_abort_command), but the hardware/bus/... gets in an error state that only is reseted by a hard unplug.
The problem is on the following connect (it starts to complain about permissions, i.e., it can't open the USB device correctly). The output from disconnect is: "ERROR: Unexpected PN53x reply!"
In my dmesg:
[32228.396309] usb 2-1.1: usbfs: USBDEVFS_CONTROL failed cmd test_send_marte rqt 128 rq 6 len 255 ret -110
[32229.395827] usb 2-1.1: usbfs: USBDEVFS_CONTROL failed cmd test_send_marte rqt 128 rq 6 len 255 ret -110
Also, my program doesn't work with revisions later than -r 1010 (i.e., 1011 screws it).
Do you have any hints on this ??
Thank in advance