Adhering to Apple Accessory Design Guidelines for BLE Connection Intervals

Hello,

I am developing a device using nRF52832. This device transmits data every 100ms, but periodically transmits data every 5ms.

The BLE connection is functioning well with a connection interval of 7.5ms to 7.5ms, but to adhere to the Apple Accessory Design Guidelines I see it needs to meet the requirements:

  • Interval Min ≥ 15 ms
  • Interval Min is a multiple of 15 ms.
  • One of the following:
    • Interval Max at least 15 ms greater than Interval Min.
    • Interval Max and Interval Min are both 15 ms.

If we don't meet these requirements the BLE connection drops after 90 seconds. I have tried to use a connection interval of 15ms to 30ms, but this causes some BLE issues when transmitting data quickly (every 5ms).

I am exploring what's causing the BLE issues, and while I think fixing that is the correct solution, I would like to explore other options to see if I am missing anything easier or more obvious. I have tried to use the correct connection interval (15ms to 30ms), but reduce the connection interval (7.5ms to 7.5ms) during fast transmission. This was OK, but it takes a few seconds to update the connection interval, which is too slow.

Any other ideas? How does Apple intend for it to work?

Thanks in advance,

Campbell

Parents Reply Children
  • Hi Tai,

    I updated the connection interval to 15ms - 30ms, which causes data drops, and the solution was to reduce the frequency that data was put into the BLE UART TX FIFO (reducing the sampling rate of our sensor) and increasing the capacity of the FIFO. This was suitable for us so we didn't look at adjusting any other BLE settings.

Related