Ergonomy
Overdrivr opened this issue · 2 comments
Overdrivr commented
- dictionnary implementation for Arduino and / or mbed ?
- add function
filter(TM_msg * msg, const char * topic)
that returns true if received msg matched a given topic - add function
filter(TM_msg * msg, const char * topic, TM_type type)
that returns true if received msg matched a given topic and received type matched a given type - add function
update(TM_msg * msg, const char * topic, TM_type type, float & output)
that returns true if received msg matched a given topic, type matches as well, and writes received data inside output variable. Do it for every supported type
Overdrivr commented
using match
instead of filter
makes more sense