cvend
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cvend [2026-11-23 00:50 UTC (5 days ago)] – restore 0xD1 EMVStatus details from rewrite doof | cvend [2026-11-23 00:56 UTC (5 days ago)] (current) – fix Ultralight reply header to remove emdash qkb | ||
|---|---|---|---|
| Line 84: | Line 84: | ||
| <- - Reader to Host | <- - Reader to Host | ||
| - | ===== LEDs ===== | + | ==== 0x20 LEDs ==== |
| The '' | The '' | ||
| Line 98: | Line 98: | ||
| | 0x80 | NFC logo, left | | | 0x80 | NFC logo, left | | ||
| - | ==== 0xD5 UltralightReply | + | ==== 0xD5 UltralightReply |
| '' | '' | ||
| Line 156: | Line 156: | ||
| - Host sends read command. To read the full contents of file 0x00, the body is '' | - Host sends read command. To read the full contents of file 0x00, the body is '' | ||
| - Reader responds with the status code and file data. | - Reader responds with the status code and file data. | ||
| - | |||
| - | ==== Reader -> Host ==== | ||
| - | |||
| - | packet type 0xED seems to be a log message: | ||
| - | \xBC\xB9\0\xED\0h\xB6\x0306: | ||
| - | |||
| - | 0xB9 - card read? | ||
| - | |||
| - | ==== Host -> reader ==== | ||
| - | 0xBC - appears after every read (ack of some sort?) | ||
| - | |||
| ==== Card read flow ==== | ==== Card read flow ==== | ||
| Line 197: | Line 186: | ||
| 00000070 | 00000070 | ||
| 00000080 | 00000080 | ||
| - | | ||
| - | | ||
| - | | ||
| - | There are 4 bytes appended at the end of some messages (presumably those with ID LSB=1, if the Rust struct description is accurate?) which is not a CRC32 with any polynomial I recognize, but a CRC32 of (message + CRC) is always 0xFFFFFFFF. These 4 bytes are NOT included in the length. | ||
| - | |||
| - | The checksum is _appended_, as can be seen by it following the log message (after the final \0). | ||
| - | |||
| - | is it a _little endian_, _bit negated_ CRC32. Which is weird because the length is big endian?.. | ||
| - | |||
| - | * Host only sends two types of messages after initialization - both of type 0xBC. One is length 1 and the body is always 0x60 (+ negated CRC 2A714F60), the other is of length 4 and the body is always 5A2BC3F9 (+ negated-CRC 11A8A56A) | ||
cvend.1795395053.txt.gz · Last modified: by doof
