This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

measure total time required to send message from client to sever and server acknowledges that message to client using BLE MESH stack (2.0.1)

Hi...,

i have measured round trip delay from client to server.

Now I want to measure total time required to send  message from server to client and client acknowledges that message to server using BLE MESH stack (2.0.1) light-switch example demo.

is it possible or Not..?

Thanks,

-Nikunj Patidar

Parents
  • This should be possible. You can use the log_timestamp_get() function located in log.h to get a timestamp & then have logging enabled via RTT for example to see when the message gets sent from the server & when the server gets the ACK from the client. Then, you just compare the difference between both timestamps to figure out the total time.

  • in onoff light switch demo example, server only send light status to client. in that case, as i assume, client will not acknowledge to that message.so using that, i can not able to measure round trip delay.

    is there Any different way to measure roundtrip delay?

      

  • Hi  Bjorn Kvaale,

    I'm waiting for reply from you.

Reply Children
No Data