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
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
Which part are you stuck on:
Each one is entirely independent of the other.
i am using two boards , example A and B .. A will sent a message to B And that message has to be read and write on uart using termite
So, again, which part are you stuck on:
Each one is entirely independent of the other.
As per you said
Let's assume you are sending a set message from the generic on off client to the generic on off server (in mesh sdk v3.1.0). The client sets the opcode to GENERIC_ONOFF_OPCODE_SET in generic_onoff_client_set(). This message then gets passed to the server. The server handles this opcode with the m_opcode_handlers[] in the handle_set function (see generic_onoff_server.c). One of the handle_set parameters is access_message_rx_t. This is the received message. Inside this received access message, you have meta data. Inside the access_message_rx_meta_t, you can find the source address of the message, which is the client in this case.