skunkforce / unified-abstract-dataproducer-template

This repo implements a template on which you can build your own UaDI device for the OmniView project
MIT License
0 stars 0 forks source link

get metadata should have a length #5

Closed odinthenerd closed 11 months ago

odinthenerd commented 11 months ago

the library needs to know the length of the buffer since an arbitrarily long list of capabilities is possible.

https://github.com/skunkforce/unified-abstract-dataproducer-template/blob/66f8b97d14913486d155a08bc7395e3d78a56e6c/src/UaDI_template.h#L157

MaxClerkwell commented 11 months ago

So get_meta_data should only receive a char* as well as a size_t and the same for enumerate