This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh light switch example controlling multiple LED

Hi all, I am working on light switch example and I want to perform different LEDs have their own switch, i.e. button 1 control LED 1, button 2 control LED 2. The problem is how to let server know which button I have pressed. As I found that generic_onoff_set_params_t only send bool onoff and tid, if I don't want to do tricks on tid, is there any other way for me to let the server know which button did the client press? Thank you.

Parents Reply Children
No Data
Related