Hello,
We have a product developed using nRF5 SDK for Thread v4.1 based on mqtt-sn sleepy publisher example.
Currently I want to publish my sensor data of payload size less than 100 bytes, at an upload interval of 100ms. I am using a hardware timer for generating timeout and in the timeout callback function I am reading sensor data and publishing it using mqtt-sn publish function.
Now this work fine for few minutes but after that certain interval it start giving error of "Failed to allocate OT Memory", which arrives if otUDPNewMessage fails. I have already allocated 400 number of block of size (128 bytes) in memory manager.
Still it gives me same issue after few minutes. So can anyone please help me out how can I solve this issue.
Note:
I have nearly 100kB of RAM left currently and I want to stream sensor data continuously over 100 ms interval. The parent poll time is set to 10ms and the interrupt priority of timers is 6.
Looking for quick response.