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

Fix deprecated C++ pub/sub functions #19

Closed martinjaeger closed 2 years ago

martinjaeger commented 2 years ago

The txt/bin_pub and bin_sub functions are now provided as inlined functions in the C++ interface only.

They were not used in the new C-based interface anyway and deprecation of the C interface caused warnings even if the functions were not used by the application anymore, as they were always called by the C++ shim layer.

Unit-tests for the deprecated functions had to be removed because they can only use the C interface.

martinjaeger commented 2 years ago

Thanks for the review.