The problem is shown in the picture below.
It is normal for 10 seconds after activating the timer.
As you can see in the picture, the value of the time stamp changes abnormally.
This is the timer handler source code.
There is nothing special.
After 10 seconds, lorawan_send function is excuted, there is a problem here.
Using sprintf is a problem.
I have omitted sprintf and it works noramlly.
It is the process of converting a buffer to a byte string and should not be omitted.
I uploaded the main source code for reference.
How can i solve that problem?