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

sending data over the mesh network

Hi,

i'm using nRF5 SDK 15.2.0 and  nRF5 SDK for Mesh v3.1.0 using the examples light switch client and server. the clients getting data from my sensor over the UART and sending it to the server. i'm using the function generic_onoff_client_set to send the data from the client.

1. what the different between the ACCESS_RELIABLE_TRANSFER_SUCCESS that i get in the call back function app_gen_onoff_client_transaction_status_cb and the status that the server send and the client get it in the function status_handle . how the client send each status(i know when the server use the function send_status i get it in the function status_handle but what with the first one?). did all the clients in the mesh network get the status or only the client that send the message?

2. how can i know that the mesh it actually work? there is a way to test it?except the way to put number of ble devises and check if i get the data in the end target ( i tried it but some time i get the data and some time not and i'm not sure if the mesh actually work)?

3. i sending data from the server to the client using the function send_status  i get the data in the client faster then i sending data from the client to the sever using the function that i mention above. why? and if i using the function send_status to send message from the server to client did it transfer over the mesh or the client get it directly from the server

Related