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
  • @ChipChipperson It is still unclear to me if you are talking about advertising interval or connection interval. If you want to measure any of them you should use a sniffer.

    If you want to configure (and then know) the advertising interval you can modify what is typically defined as APP_ADV_INTERVAL or similar in our SDK examples.

    In regards to connection interval, you would typically view it using a debugger or by printing it.

    P.S. The connection interval doesn't necessary tell you how often you are sending data to the peer, it tell you how often you can send data to the peer.

Reply
  • @ChipChipperson It is still unclear to me if you are talking about advertising interval or connection interval. If you want to measure any of them you should use a sniffer.

    If you want to configure (and then know) the advertising interval you can modify what is typically defined as APP_ADV_INTERVAL or similar in our SDK examples.

    In regards to connection interval, you would typically view it using a debugger or by printing it.

    P.S. The connection interval doesn't necessary tell you how often you are sending data to the peer, it tell you how often you can send data to the peer.

Children
No Data
Related