electricui / electricui-embedded

Add communications functionality to connect your hardware to a local user interface.
https://electricui.com
MIT License
64 stars 5 forks source link

Allow for >255 tracked variables in the handshake callbacks #136

Closed Scottapotamas closed 5 years ago

Scottapotamas commented 5 years ago

The handshake callbacks send a one-time message with the count of variables being transferred. This is currently set to be a uint8 which conflicts with the configurable eui_variable_count_t used in the number of objects variable.

Use the custom type in the message headers, as it maps directly to a unsigned int of 1 or 2 byte length.