tessel/t2-firmware

RFID module never emits ready

Closed this issue · 1 comments

I turned on DEBUG in RFID and got:

➜  rfid-pn532 git:(master) ✗ t2 run examples/rfid.js
INFO Looking for your Tessel...
INFO Connected to Tessel-02A319F7FF6D over USB
INFO Writing examples/rfid.js to RAM on Tessel-02A319F7FF6D (264.704 kB)...
INFO Deployed.
INFO Running examples/rfid.js...
Starting firmware check...
Beginning sendCommandCheckAck in _getFirmwareVersion...

    writing buffer:
     [ 0, 0, 255, 2, 254, 212, 2, 42, 0 ]

kickback from readreg:
 null
 <Buffer 88>

which leaves us hanging around line 449 in RFID's index.js - the irq and ack.

Tried it on two different RFID modules.

Should be fixed with tessel/rfid-pn532#26.