Topic: libnfc, buzzer, led, with ACR122U214

Hello there,
I've been trying to run continous reading of tags with ACR 122U reader (with partial success) under Linux. But.

But still couldn't beep with buzzer (or blink a led) after reading/detected a tag when using acr122_usb.

Actually, I cannot even get firmware string, or use any ADPU command via transmit_bytes() function (from library examples, using nfc_initiator_transceive_bytes).

I've tried to prepend all bytes with escape command, no success...

As I see when debugging, library sends my

command[] = { 0xff, 0x00, 0x48, 0x00, 0x00} 

alreadu prepending it with escape command, but it returns error:

Sent bits:     ff  00  48  00  00  
debug   libnfc.chip.pn53x       InDataExchange
debug   libnfc.chip.pn53x       No timeout
debug   libnfc.driver.acr122_usb        TX: 6f 0d 00 00 00 00 00 00 00 00 ff 00 00 00 08 d4 40 01 ff 00 48 00 00 
debug   libnfc.driver.acr122_usb        RX: 80 05 00 00 00 00 00 00 81 00 d5 41 27 90 00 
debug   libnfc.chip.pn53x       Chip error: "Command Not Acceptable" (27), returned error: "Invalid argument(s)" (-2))

What can be wrong? Do I use wrong function to send APDU?

Can somebody post code example, how to get buzzer working (or firmware) (even yes, with card put on reader)?

Thank you

Re: libnfc, buzzer, led, with ACR122U214


Did you manage to get this working?
Can you show me some of the code you are trying?


Re: libnfc, buzzer, led, with ACR122U214

No, I did not. The answer is like "buy other reader", or use PCSC with more limitations.

Re: libnfc, buzzer, led, with ACR122U214

That's too bad.
But do you have any place where I can take a look at some code you had? A simple way to send commands to the ACR122.
I am reading the manual but I am having a hard time understanding how I will send the hex stuff (first time using this).
Any examples would help.