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
  • ...(2/x) complicated in terms of packet size, numbers, data rate etc. and e) with new BT SIG mesh broadcasting can offer even more complex situations then this.

    • In connection based link it becomes again complex because there are suddenly much more layers involved.
    • In general there is some basic period called "connection interval" where both sides of (asymmetric) link exchange typically one packet. This happens even if there are no effective data, simply they exchange empty PDUs containing only Link Layer and PHY headers. Do you count this into your analysis?
    • To make it worse if there are higher layers active they can (if both sides of the link support it) exchange suddenly more PDU pairs within one interval (it's not uncommon that good BLE stacks support 6 o even more packets per interval when needed).
    • To make it total mess for you there are link parameters which may ...
Reply
  • ...(2/x) complicated in terms of packet size, numbers, data rate etc. and e) with new BT SIG mesh broadcasting can offer even more complex situations then this.

    • In connection based link it becomes again complex because there are suddenly much more layers involved.
    • In general there is some basic period called "connection interval" where both sides of (asymmetric) link exchange typically one packet. This happens even if there are no effective data, simply they exchange empty PDUs containing only Link Layer and PHY headers. Do you count this into your analysis?
    • To make it worse if there are higher layers active they can (if both sides of the link support it) exchange suddenly more PDU pairs within one interval (it's not uncommon that good BLE stacks support 6 o even more packets per interval when needed).
    • To make it total mess for you there are link parameters which may ...
Children
No Data
Related