Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:code [2024/05/30 15:05] – [Firmware version info C/C++-struct] Igor Yefmov | code:code [2024/06/07 15:00] (current) – [Firmware version info C/C++-struct] Igor Yefmov | ||
|---|---|---|---|
| Line 70: | Line 70: | ||
| unsigned buildNo | unsigned buildNo | ||
| }; | }; | ||
| + | // [0, 3] = [hhhh' | ||
| static_assert(sizeof(FwVersion) == 4); | static_assert(sizeof(FwVersion) == 4); | ||
| </ | </ | ||
| Line 75: | Line 76: | ||
| For example the following sequence of bytes: | For example the following sequence of bytes: | ||
| < | < | ||
| - | < | + | < |
| - | H/W config 1 | + | H/W config |
| - | product 6 | + | product |
| - | build type 0 | + | build type = 0 |
| - | build# | + | build# |
| - | [0, 3] = [hhhh' | + | |
| </ | </ | ||