jildertviet / JFixLib

Library to control multiple light fixtures with the same codebase
0 stars 0 forks source link

Group msgs #9

Closed jildertviet closed 7 months ago

jildertviet commented 7 months ago

// addEvent // addEnv

Group them New msg type: groupedMsg: 0x43 [msgType, address, numMsg, len1, len2, len3, etc Split the data. Parse each block as unique msg.

Only add relevant stuff into msg... So: not the address (already in the grouped msg).

However, we need these bytes for parsing. 1.) Add them anyway ⟵ 2.) Add them on the ESP side (copying and allocating data...)