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

Question about nRF Replay protection cache

Dear all,

Last week i have a problem, my device ( mesh server ) could not publish message to Gateway (client).
After some hours debuging, I releazied root cause of problems is replay protection cache in Gateway.
If replay cache is full, gateway will discard message, application layer will  never received message again until device reboot.

Maybe i must increase value REPLAY_CACHE_ENTRIES, but i think it is not good solution.

What should i do in this case?

Thank you.

  • Hi,

    Gateway discarding message because of full replay cache does not quite make sense to me. If anything, message would be discarded because the exact same message has been previously received - or the new message uses a sequence number lower than a previous higher sequence number from the same sender.

    Can you point out to me in the code, the issues that you found with replay protection cache, and how it happens?

    Regards,
    Terje

Related