Hi,
I am using two nrf52840 boards and a Light-Switch example included in the mesh SDK_v5.0. I would like to measure the time required to send a message from client to server. I have enabled logging via RTT for example to see when the message gets sent from the client and when the client gets the ACK from the server.
In the Debug Terminal area I see for example:
<t: 14650346>, access.c, 425, TX: [aop: 0x8202]
<t: 14650348>, access.c, 426, TX: Msg: 82020013010A
<t: 14651927>, access.c, 253, RX: [aop: 0x8204]
<t: 14651929>, access.c, 276, RX: Msg: 010001
<t: 14651933>, main.c, 171, Acknowledged transfer success.
<t: 14651935>, main.c, 196, OnOff server: 0x0006, Present OnOff: 1, Target OnOff: 0, Remaining Time: 100 ms
<t: 14650348>, access.c, 426, TX: Msg: 82020013010A
<t: 14651927>, access.c, 253, RX: [aop: 0x8204]
<t: 14651929>, access.c, 276, RX: Msg: 010001
<t: 14651933>, main.c, 171, Acknowledged transfer success.
<t: 14651935>, main.c, 196, OnOff server: 0x0006, Present OnOff: 1, Target OnOff: 0, Remaining Time: 100 ms
I am now confused with those timestamps. Is there s waý to convert it to a human readable format? My goal is to calculate Round Trip Delay in seconds.
I tried to see if it was a UNIX timestamp by converting it online but the value return June 19, 1970 some:time
Best regards,
Mela