ThingSet / thingset-device-library

ThingSet library for resource-constrained devices written in C/C++
https://thingset.io/thingset-device-library/
Apache License 2.0
13 stars 6 forks source link

Add 8-bit integer data types #36

Closed martinjaeger closed 2 years ago

martinjaeger commented 2 years ago

This change requires to add another bit to the type variable in the struct data_objects as the number of supported types exceeds 16. Stealing it from the subsets field seemed like the best idea, as 7 different subsets should be sufficient.

Also adding a few missing int16_t unit tests.

martinjaeger commented 2 years ago

Thanks for the review!