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

how to print the data from particular node to uart

hi...

i am working on mesh , i have done light switch example , now i want to get some message from node and send to particular node . how to print the same message which is from particular node to uart termite 

please help me out. 

thanks in advance 

Parents Reply
  • If you are sending a generic on off set message, the set_params variable in generic_onoff_client_set(&m_clients[0], &set_params, &transition_params); will send the message data, which will send a bool value state. Like I have mentioned previously, one of the updates you will need to make is to change this bool value to a character string. The message_set_packet_create function takes the set_params variable & makes changes via call by reference to the first argument provided (i.e. &p_client->msg_pkt.set).

Children
Related