2024-02-23 04:49 AM
Hello,
I have an end-node device based on STM32WLE5CBU6.
The end node sends data in every 10 seconds to the gateway.
when I reset the End node device the uplink frame count in the end node resets to 0, at this moment the gateway shows a frame counter validation error.
This error is solved when I disabled frame counter validation in the gateway.
ISSUE: when for some reason I reactivate the device from the gateway the counter in the gateway resets to 0. At this moment the Node shows MAC rxDone but not going in the callback OnRxData. I verified that when I replace the Downlink frame-counter with a higher value in the gateway it works fine. means it is checking the downlink frame-count should be higher than the previous one.
IS THERE ANY WAY TO DISABLE THE FRAME COUNTER VALIDATION IN ENDNODE ?
2024-02-28 10:13 PM
Please Help me i am Stuck at this.
2024-02-28 11:47 PM
Hello @vishaltechshlok and welcome to the ST Community :smiling_face_with_smiling_eyes:.
I suggest you take a look at this post to understand how to deal with the frame counter.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-03 09:17 PM
Thanks for the post suggestion, I already read that post.
But post does not have much information on how to get the frame count and update it in NVM.
Is there any function to disable downlink counter validation in Node?
If not can you tell me in which library should i change to achieve this?
2024-04-15 01:46 AM
Hello @vishaltechshlok
It is not possible to disable downlink counter validation in Node. This can be done only on the server.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.