Acknowledged
over 1 year ago

Simulator v7.2.0 Bug: With Sim v7.2.0 BLE connections made with nRF dongle drop after connect

With Sim v7.2.0 BLE connections made with nRF dongle disconnect immediately, after a device has successfully paired and connected.

Parents
  • I looked into this issue using a Nordic Thingy52 and our test app. I didn't see any issues with the devices I tested (a couple Edge devices and some Fenix and Forerunners). The logging statements that we have in the OnCharacteristicWrite callback delegate showed that it was being called and used. 

    You may need to do what Jim suggested and add queueing or timeout logic in the application.

    I would assume that when you were switching between SDKs that the nRF dongle was connected and running, but just incase; Make sure the nRF dongle is already connected before starting the simulator.

Comment
  • I looked into this issue using a Nordic Thingy52 and our test app. I didn't see any issues with the devices I tested (a couple Edge devices and some Fenix and Forerunners). The logging statements that we have in the OnCharacteristicWrite callback delegate showed that it was being called and used. 

    You may need to do what Jim suggested and add queueing or timeout logic in the application.

    I would assume that when you were switching between SDKs that the nRF dongle was connected and running, but just incase; Make sure the nRF dongle is already connected before starting the simulator.

Children
  • Brad, I too have tested a bunch of Garmin devices with a Thing52 (as well as my Pi sensors).  My own version of the app for the Thingy52 does a bit more than the sample in the SDK and it's what I used to start learning CIQ BLE. 

    For example, I use more than one service and the thiny52 makes a sound when my app connects to it, turns on the LED on the back, and changes the main led color with a button press on the front (using the UI_SERVICE and SPEAKER_SERVICE  And it uses the queueing and timeout functions I've mentioned.  No problem with 7.2.0.

    I spent yesterday adding some stuff to one of my pi sensors and testing things with the CIQ app in the sim for it, with zero issues.