Hi all,
I am currently trying to measure the delay performance of BLE using the CC2650 DK, and I have a couple of doubts that some of you might be able to guide me with.
I am using a program similar to the Sunlight example, that exposes a series of attributes (the slave/Server), and I am also using the HostTest program to work with BTool (The master/Client). I am interested in measuring the times when the read request is sent and received and when the correspondent response is sent and received. In BTool it is possible to see the times related to the master, so I can calculate the round trip time. Although, I would need to find a way to do it programmatically, since I need thousands of samples, and with BTool i dont get the times related to the slave. Hence, I tried to modify the codes to get the timestamps of the events mentioned before but I got a little bit confused on how to do it.
Here I list some of my doubts:
- As I said, for the master I am using BTool with the HostTest program. Is it possible to modify this code to get the times?
- How can I get timestamps, or something equivalent, using these codes?
- How can I send these times to the computer using the serial port? I looked up for the posts realted but it is not clear for me how it works.
- Is it better to use the simpleBLECentral program and send periodically read requests to the server, instead of using BTool?
I apologize for making these beginners kind of questions, but I am trying to get started.
Thank you in advance.