Having difficulty implementing beep-on-connect

Asked by kyle

This is my first time using the nfcpy module, my reader is an ACR122U, I have managed to connect to the reader using nfcpy and I can also scan and print tags so far. The scanner LED is off until I scan a tag, it then turns green but it stays a solid green until it is unplugged. I would like for the reader to only flash green when a tag is scanned, I would also like it to beep, I cannot figure out how to use the beep-on-connect option to my advantage here, can someone lend me a helping hand? A general example of how to use option for my scenario would be awesome, thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Solved by:
kyle
Solved:
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

There are at least two different versions of ACR-122, one with P/N ACR122U-A9 (newer model) and one with P/N ACR122U-WB-R (older model). Those are the two I have and the older model doesn't beep while the newer does beep with default settings. Which version is yours?

Also you must make sure to use the latest nfcpy version from github master branch. The beep-on-connect does not work with version 0.11.

Revision history for this message
kyle (kyldu) said :
#2

Hi Stephen, I definitely have the older version so this won't work for me, I am using the winsound module to produce a beep instead. Thanks for your help!