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

Message already scheduled for a reliable transfer

Hi there!

Okay, I've been trying a lot to figure this out, but without any success. I have absolutely no idea what could be the problem whatsoever. The problem is that the simple_on_off client is unable to reliably send messages to the simple_on_off server; both with reliable and unreliable transfers.

It worked twice; the messages would be sent and received every time. The times in between, only one or two messages would be sent and received and then it would just return NRF_ERROR_INVALID_STATE, which means a reliable transfer is already scheduled. A message should be sent every 20 seconds.

I should note that I'm using FreeRTOS. However, the above described is just a small part of the project and everything (including scanning for beacons and provisioning) has worked thus far, so I don't expect it to have something to do with FreeRTOS.

I also expect it to be a problem on the client side and not the server side since I can just send messages with the app or restart the client and everything works. Maybe it's a problem with the configuration of the mesh network? I have literally no idea...

Thanks in advance,

Jochem

Related