Commit 642a0ea
committed
Reverse RDM UID bytes and remove DMX personality
Update struct layout and serialization, and fix UID endianness.
- lib-configstore: Replace the single `personality` byte with `reserved[2]` in DmxNode to preserve layout/padding.
- lib-dmxnode: Remove serialization of the personality field from JSON output (no longer present in the struct).
- lib-rdm: Reverse the order of serial_number bytes when populating uid_[2..5] to correct RDM UID byte ordering.
These changes restore consistency between the in-memory struct and JSON representation and correct the RDM UID construction.1 parent 6ddf810 commit 642a0ea
3 files changed
Lines changed: 5 additions & 7 deletions
File tree
- lib-configstore/include
- lib-dmxnode/src/json
- lib-rdm/include
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments