Closed jildertviet closed 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...)
// 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...)