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

How can I measure the advertising intervals of a peripheral?

I would like to know how frequently my peripheral is sending advertising and data packets. I've tried using ble-sniffer-osx but it doesn't actually reveal any device names for some reason, so it's not trivial to use. Is it possible to do this using Xcode's Bluetooth Explorer utility to do this?

Parents
  • To connection parameters (which is quite different story so it looks like you are mixing several things into one question):

    • You can read it precisely from RF packet sniffer because it's in CONNECT_REQ packet and then it can be changed later but always explicitly by Master (GAP Central device) by LL command so you can again see the value in the log.
    • You can also observe it on upper layers if LL/GAP API allows it. I'm afraid that's not the case on Android or iOS (but I suggest to verify in API documentation) but you can again measure it indirectly if devices exchange one packer each interval you can measure time in the app, it should be pretty close to reality.
Reply
  • To connection parameters (which is quite different story so it looks like you are mixing several things into one question):

    • You can read it precisely from RF packet sniffer because it's in CONNECT_REQ packet and then it can be changed later but always explicitly by Master (GAP Central device) by LL command so you can again see the value in the log.
    • You can also observe it on upper layers if LL/GAP API allows it. I'm afraid that's not the case on Android or iOS (but I suggest to verify in API documentation) but you can again measure it indirectly if devices exchange one packer each interval you can measure time in the app, it should be pretty close to reality.
Children
No Data
Related