Good day
I am currently running a lwm2m based client that sends lwm2m messages after every 10 min. The process of sending is handled in another thread and the data that doesn't send is saved inside a buffer. When the client detects that there is connection it will send the flash data. As per my description, the client is unchanged. However, after about 18 hours, the client will lose connection to the network and will not be able to find network and reconnect to the server again. I have tried to trigger a network error while logging and the client manages to reestablish connection overtime. However, after 18 or so hours, the client will just lose connection and not attempt to reconnect again. Anybody have any ideas on how to fix this situation? Very frustrating as I have not changed anything about the lwm2m sample in terms of the code that was already there. please assist . NB : I am certain that the client isn't establishing network connection because my code will always attempt to send and the flash buffer is not empty once I reboot the device. The device will save all the data till the reboot.
I am using mfw 1.3.5 and SDK version 2.4.0.
Kind regards,
Hassan