timing response speed of serial device
- by dario frongi
I comunicate with a serial device via bluetooth.
i send it pid and it responds to me with a data response.
i comunicate with him with serial comunicatione one request-response. i want to measure how many response i receive in one second. i think that i have to know the moment when i do the request and the moment whene i receive the response and do the difference. The result(called delta) is the time-to response of device. in the end i have to do 1000ms/delta.
how can calculate it ?