Ergonomy
Overdrivr opened this issue · comments
Rémi Bèges 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
Rémi Bèges commented
update
implemented in 02a587a
Rémi Bèges commented
using match
instead of filter
makes more sense