Acknowledged
CIQQA-4261

BLE not working in simulator after updating to SDK9.2

I'm trying to simulate one data field that uses BLE to connect with sensors. It was working fine until I have updated to SDK9.2

Now, it seems dongle is not available for the simulator. Going back to SDK9.1 still works fine.

Tested in macOS Monterrey

Release notes mention two changes related to BLE. They may have some relation.  

New Features

  • Add bonded connection support in the simulator.

Bug Fixes

  • Fix issue where the simulator crashed when launching a BLE app when the dongle was not connected.

Anyone can try to reproduce this and confirm?

  • I have been using SDK 9.1 with the old dongle firmware as a workaround. However, it only worked with certain devices, such as the Edge 1030. Trying the same workaround with most other devices resulted in the following error: “This app requires a newer SDK.”

    Following the latest device updates, it seems that none of the devices work with SDK 9.1 anymore. So, it seems that there's no way to simulate BLE now.

  • hopefully this does not mean, that with SDK 9.2+ Garmin won't allow "open" BLE connections at all. Becaue many sensors do not support bonding. There is no real "open" in BLE, because connections are always encyrpted with BLE. But keys are not persisent without bonding. What means that man in the middle attacks are possible. I doubt this would be important for a huge number of e.g. bicycle sensors, but maybe this is due to new EU-regulations ("RED directive").

  • Run with the 9.1 SDK, shut down the sim, use the SDK manager and make 9.2 the current SDK, and run again and you'll be using the 9.2 sim.   I have a nordic DK running the latest hex file, and a dongle with the pre-9.2 hex file so I change the com port used for BLE when I switch SDKs.  It seems 9.2 doesn't allow picking an open connection for BLE, but if you've set that with 9.1, 9.2 will use it..

  • but who can you switch from 9.1 to 9.2, while the SIM 9.1 is running?

  • What I've found with my pi based sensors, if I use the 9.1 SDK, and "OK" using an open connection then switch to 9.2, I can run just fine, but only with the sensor I OK'ed.