Closed beaufortfrancois closed 9 years ago
what does set buzzer does? i'm also having the same issue,
5:56.030 Enumerated 1 devices
chrome-nfc.js:787 [Object]
chrome-nfc.js:810 23:45:56.061 claimed
chrome-nfc.js:1891 23:45:56.086 >0000FF00FF00
chrome-nfc.js:1843 23:45:56.096 <000000000000FF028100
chrome-nfc.js:1082 [FIXME] acr122_reset_to_good_state: rc = 2184
chrome-nfc.js:1891 23:45:56.105 >62000000000000010000
chrome-nfc.js:1843 23:45:56.121 <800200000000000081003B00
chrome-nfc.js:1086 [FIXME] icc_power_on: rc = 2184
chrome-nfc.js:1088 [DEBUG] icc_power_on: turn on the device power
chrome-nfc.js:1891 23:45:56.236 >6B050000000000000000FF00520000
chrome-nfc.js:1843 23:45:56.385 <830200000000000081006300
chrome-nfc.js:1256 [ERROR] acr122_reset_to_good_state() returns 2730
chrome-nfc.js:1256 (anonymous function)chrome-nfc.js:1103 (anonymous function)chrome-nfc.js:957 (anonymous function)
chrome-nfc.js:619 NFC.device.open() = 2730
app.js:157 test []
app.js:132 Uncaught TypeError: Cannot read property 'productId' of undefined
I just fixed it in https://github.com/GoogleChrome/chrome-nfc/commit/6c6698201e89ffb81f9a0ec4673633fe53eca318
acr122_set_buzzer(true)
and self.acr122_set_buzzer(false)
should not raise errors anymore.
When setting
self.acr122_set_buzzer(true,
, the USB Reader cannot be found anymore andself.acr122_reset_to_good_state
returns 2184 ;(