how to send the character (150 bytes) from client to server for latest version 3.1
i am finding difficulty
please help me out
how to send the character (150 bytes) from client to server for latest version 3.1
i am finding difficulty
please help me out
Hi,
If you want to send more than 11 bytes, you can send them as segmented/reliable messages. You should be able to do so by the following API: access_model_reliable_publish().
I would suggest you got through the Light switch example. Have a look at the generic_onoff_client_set() to see how to send a reliable message. It uses the access_model_reliable_publish() API. You just need to send a package that are bigger than 11 bytes, it will split into smaller packages and be sent as segmented messages.
what is max length of data can be send in this case?
and what is time required for that. let I want to send 1kB of data over mesh.
Thank You
Bivay
how to do that ... i am not getting ...can you show a sample code ..to send a message packets
Hi,
The maximum possible segmented payload is 380 bytes. It is set in this define NRF_MESH_SEG_PAYLOAD_SIZE_MAX. I'm not sure what the required time, the easiest way would be to just test it. It will probably take over 1 second between each transmission. Note that the mesh aren't really optimized for sending large amount of data.
Like I mentioned in my earlier reply, I suggest you to see through the Light switch example. Search for generic_onoff_client_set(), it will show you how to send a reliable message.
Like I mentioned in my earlier reply, I suggest you to see through the Light switch example. Search for generic_onoff_client_set(), it will show you how to send a reliable message.