I checked the code you shared.
In line 496, variable is directly printed without any format specifiers. That's the reason for the reset issue.
Please specify format specifier and compile and flash the code
Yes, I realised it after sending it to you. Sorry.
Also, the initial problem was the port execption for UDP connection.
I have used the format specifier and it works.
Sure Thank you very much.
Just one more query, I have to send this timestamp data on an MQTT topic without any certificates.
When sending the data it get assereted in function "StringDescr_wrap". Could you please help.
I see the function takes argument publish->Topic which assert to null.
The assertion is due to NULL parameter validation.
From the screenshot I see that the topic is null.
..... :topic of timestamp (null)
Could you configure a valid topic for MqttPublishInfoTimestamp.Topic and try.