Skip to content

Commit 8bcd640

Browse files
final nfc constants
1 parent f727249 commit 8bcd640

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/source/ria.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -854,18 +854,18 @@ change (including once after ``open()``).
854854

855855
* - Byte
856856
- Meaning
857-
* - ``NFC_RESP_NO_READER`` (0x01)
857+
* - ``NFC_RESP_READ`` (0x01), lenLo, lenHi, tag data...
858+
- Read result
859+
* - ``NFC_RESP_WRITE`` (0x02)
860+
- Armed write complete
861+
* - ``NFC_RESP_NO_READER`` (0x03)
858862
- State: no reader attached
859-
* - ``NFC_RESP_NO_CARD`` (0x02)
863+
* - ``NFC_RESP_NO_CARD`` (0x04)
860864
- State: no card present
861-
* - ``NFC_RESP_CARD_INSERTED`` (0x03)
865+
* - ``NFC_RESP_CARD_INSERTED`` (0x05)
862866
- State: card present, tag data not ready
863-
* - ``NFC_RESP_CARD_READY`` (0x04)
867+
* - ``NFC_RESP_CARD_READY`` (0x06)
864868
- State: card present, tag data ready
865-
* - ``NFC_RESP_WRITE`` (0x05)
866-
- Armed write complete
867-
* - ``NFC_RESP_READ`` (0x06), lenLo, lenHi, tag data...
868-
- Read result
869869

870870
The ``NFC_RESP_READ`` payload is a two-byte length followed by raw tag data
871871
starting from page 0, and may span multiple ``read()`` calls. Page layout:

0 commit comments

Comments
 (0)