cvend
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cvend [2026/01/21 07:43] – v | cvend [2026/01/28 00:26] (current) – Add title asb | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== cVEND NFC Reader ====== | ||
| + | |||
| + | |||
| cVEND is the NFC reader on the bottom half of the PM3 | cVEND is the NFC reader on the bottom half of the PM3 | ||
| {{ : | {{ : | ||
| + | |||
| + | The associated serial device appears to be at / | ||
| Line 32: | Line 37: | ||
| H: BC2500BC0004365A2BC3F911A8A56A | H: BC2500BC0004365A2BC3F911A8A56A | ||
| R: BCC125BD00027401FDE0523164 | R: BCC125BD00027401FDE0523164 | ||
| + | | ||
| + | | ||
| + | Sample log message: | ||
| + | BCB000ED0068450330363A34383A3038204572726F723A206665636C725F7472616E7363656976652829206661696C65643A206572726F723A20302C207374617475733A2030783030303030303038200A205B524649445265616465724D756C74694170702E6370703A3135395D0002CD1533BCB100ED0046B40130363A34383A3038207472616E7363656976652065 | ||
| + | |||
| + | |||
| + | 00000000 | ||
| + | 00000010 | ||
| + | 00000020 | ||
| + | 00000030 | ||
| + | 00000040 | ||
| + | 00000050 | ||
| + | 00000060 | ||
| + | 00000070 | ||
| + | 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.1768981423.txt.gz · Last modified: by v
