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
  • Thank you both for your responsiveness and information/guidance, very much appreciated. I am only about a few weeks into groking BLE and it is certainly not a trivial protocol, so all the help is great, thanks again.

    To your point @endnode yes, I may have been mixing two different aspects of the connection protocol into one, I think. What I wanted to be asking was two-fold: how do I measure the frequency of advertising packets ? AND How do I measure the frequency of data packets (with data form a sensor) being sent from the peripheral to central? Just to be clear, I'm assuming that by "connection interval" that is referring to the frequency of data packets being sent, yes?

    Yes, APP_ADV_INTERVAL is what I was looking for, thank you!

Reply
  • Thank you both for your responsiveness and information/guidance, very much appreciated. I am only about a few weeks into groking BLE and it is certainly not a trivial protocol, so all the help is great, thanks again.

    To your point @endnode yes, I may have been mixing two different aspects of the connection protocol into one, I think. What I wanted to be asking was two-fold: how do I measure the frequency of advertising packets ? AND How do I measure the frequency of data packets (with data form a sensor) being sent from the peripheral to central? Just to be clear, I'm assuming that by "connection interval" that is referring to the frequency of data packets being sent, yes?

    Yes, APP_ADV_INTERVAL is what I was looking for, thank you!

Children
No Data
Related