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 support for publishing individual records #47

Open nvelozsavino opened 1 year ago

nvelozsavino commented 1 year ago

calling ts_txt_statement on an ts_object pointing a simple item now adds to the buffer the item with the format # Ex:

/foo/rBar 23

martinjaeger commented 1 year ago

The unit tests are failing.

martinjaeger commented 1 year ago

Unit tests are still failing because you added new data items which would have to be considered in the tests that discover all data objects. Not sure if adding new data items is really needed or if we can just test with the existing ones.

martinjaeger commented 1 year ago

BTW: You can easily run the unit tests in your local Zephyr environment with the commands explained here: https://github.com/ThingSet/thingset-device-library/blob/main/zephyr/tests/README.md