mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-08 15:11:21 +02:00
The NTAG WRITE ACK is 4 bits (0x0A), not a full byte. The PN5180 RX_STATUS register reports 0 complete bytes with 4 extra bits, but the check only looked at the byte count — returning False on every successful write. Check both byte and bit fields of RX_STATUS. Also bump post-write delay from 5ms to 10ms for margin.