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

Mesh reliable message

Hi, i am working on a message model based on the simple_on_off model. I am able to send and receive a buffer via unicast or multicast. Now i am trying to develop a reliable "send" as implemented in the simple_on_off model.

I don't know how to stop my model to send the reliable message. I think it comes from my function "reliable_message_cb" similar to "reliable_status_cb" ( from simple_on_off_client) which is the one that disable the transfer ("p_client->state.reliable_transfer_active = false;"). My function is never called...

Can you explain me how this function is called for the simple_on_off model ? 

Maybe the problem comes from somewhere else : after sending my reliable message from my client, the server respond with a very simple message (similar to the status message), maybe i am missing something in the reception of this message to stop the transfer ?

Thanks for your help

Parents
  • Hi damien, I just doont think you are supposed to look into acces_reliable.c. You should only make adjustments in your own model. If you dont want an acknowledged message, just simply send an unacknowleged message? why would you want to "stop" sending a reliable message, its just a one time call you make... I'd be happy to help you, maybe if you post a piece of code we could help you

Reply
  • Hi damien, I just doont think you are supposed to look into acces_reliable.c. You should only make adjustments in your own model. If you dont want an acknowledged message, just simply send an unacknowleged message? why would you want to "stop" sending a reliable message, its just a one time call you make... I'd be happy to help you, maybe if you post a piece of code we could help you

Children
Related