FR965 BLE connection terminated because of unacceptable connection paramters

I've been struggling with a BLE data field of mine that has been working for years on many watches.  Recently my FR965 keeps disconnecting and reconnecting every 30 to 40 seconds.  I finally hooked up my BLE sniffer and found out that the disconnect is because the peripheral is terminating the connection due to unacceptable connection parameters.

My assumption is that Garmin changed something in the FR965 firmware to break the BLE connectivity with (older?) BLE devices.

Just to reiterate, the same ConnectIQ app works fine on older Garmin devices that I have on hand, and also works perfectly in the simulator for the FR965.

From Wireshark:

  1. Watch sends CONNECT_IND
  2. Watch sends LL_CONNECTION_UPDATE_IND (see image below)
  3. Peripheral sends LL_TERMINATE_IND with error code Unacceptable Connection Parameters (0x3b) about 35 seconds later

What can I do to work around this?  Do I have any control of the connection parameters in my data field?  Any Garmin BLE experts or ConnectIQ developers that have any insight for controlling BLE connections at this level?

Is there a way to contact Garmin ConnectIQ support developers?

Any help or suggestions are appreciated!

  • What BLE device are you using?  Did you see the message about it using an open connection?

    Try using my blescan app in the store and connecting that way.

  • Thanks for the reply.

    I did get the message about using an open connection and i chose an open connection.  This data field works fine with other older devices. Garmin firmware changed something with BLE connections. Trying to figure out what my options are. 

  • Again, try BLESCAN.  Find your device and then connect to it.

  • BleScan won't connect and it crashes.  It has never been able to connect to this device.  Older firmware connects and keeps a connection for an hour. I'm trying to understand what Garmin did to cause the error i mentioned in my first post. 

    My app has been in the aop store and working for years...

  • Have you asked whoever built your sensor? Is it based on something where you can see debug info?  Sounds like maybe the 965 is doing something the sensor can't handle, so the problem could be there.

    The ble sensors I use are all working fine with the 965.

  • Unfortunately not an option to get any help from the manufacturer.  I'll do some captures with a working device and see if i can pinpoint the BLE communication differences. 

  • My Edge 350 holds a steady connection.  Its LL_CONNECTION_UPDATE_IND looks like this, for what it's worth:

    Does anyone from Garmin Dev Support have comments?

  • I'm back on trying to find a solution to this BLE connection issue.

    My FR965 and a BLE device can't agree on connection parameters.  This is something that Garmin changed in the BLE stack that I have no control over.

    The BLE peripheral terminates connections because it considers the connection parameters unacceptable.

    • The FR965 connects to BLE device at 7.5 ms, then the Garmin central changes the interval to 90 ms.
    • BLE device requests an interval between 15 and 30 ms; the Garmin central rejects those requests.
    • BLE device then sends LL_TERMINATE_IND with reason Unacceptable Connection Parameters (0x3b).

    Can you help with the following questions:

    1. What channels exist to raise this issue to Garmin developers?
    2. Am I missing any API calls where I can adjust the BLE connection parameters?  I have not seen any API calls that allows me to control this low level connection negotiation parameters.

    To recap, this works fine with my FR945 and Edge 530 (older devices).  I can hold a steady connection for an hour.  With the FR965, the connection is reset around every 35 seconds.  It also works fine with the FR965 simulator.  A Wireshark capture clearly shows the BLE device terminating the connection with unacceptable connection parameters.

    My FR965 is on the latest firmware (29.52) and I am using the Connect IQ 9.2.0 SDK.

  • Not all BLE devices are supported by CIQ.  CIQ has a minimal implementation.

    The first time you run on a real device, are you asked if an open connection is OK?  What did you answer?  Havw you tried other BLE sensors?

    You can try my BleScan app https://apps-developer.garmin.com/apps/9bcc8b66-8385-4afb-b93e-f69e01422284

    You can see what's seen in CIQ for any devices it sees while scanning.  By pressing "menu" you are given the open to try and connect.  After you answer the "open connection" for the sensor, you may need to restart the app

  • I appreciate the reply (same as your previous reply). 

    • This data field has been on the IQ store for several years.
    • It has an equivalent number of downloads as your BLE Scan app  (more than 1K, less than 10K).
    • The ConnectIQ Developer Dashboard shows the DF being used or downloaded on almost all the watches that I support.
    • So it is (was?) clearly supported by the CIQ BLE implementation.

    I choose ok for the "open connection" question to be able to connect. 

    The FR965 connects to and pairs with the BLE device and starts streaming BLE data.  But then, after about 30-40 seconds, the connection drops.  My DF reconnects and the cycle starts again.  I get most of the data from the device, but I lose the data during the time it takes to reconnect.

    I've had one or two similar reports from ConnectIQ users on newer devices.  Unfortunately my budget does not extend to buying new devices every year.

    BLEScan connects, just like my DF, but the app doesn't add any new information to help troubleshoot.  The device itself never fully connects to BLEScan since it needs a proprietary handshake before it starts to stream data  It also needs a heartbeat packet from the device to keep the connection open.  I guess BLEScan only shows the advertising packets.

    I've been testing occasionally whenever I get a firmware upgrade on my FR965 and I've been trying newer versions of the SDK.  As I've also mentioned before, the ConnectIQ device simulator works perfectly (just like real older watches) when running the simulator and connecting to the BLE device using the Nordic Semiconductor nRF52840 dongle.

    At this point I am 99% sure it's nothing I am doing in the code.  The Wireshark BLE captures clearly shows the device disconnecting as I posted above.

    I'm looking for who to tag or what process I can follow to report this to Garmin.