Over the past month I have lots of issues with BLE for makeWebRequest. I develop apps that use makewebrequest to request data from a public web server, using BLE through Garmin Connect Mobile. It has been working fine for many years but about 1-2 months ago I started to get lots of connectivity issues. makewebrequest times out and returns -2 (BLE_HOST_TIMEOUT)
The only way to resolve the problem is either to open or restart the Garmin Connect Mobile app. it is not an issue with Bluetooth connectivity. I always check the status of the Bluetooth connection before i make a call to makewebrequest. I have also verified the watch is connected to the mobile when the problem occurs (I can receive notifications). This is clearly not a problem with the BT connection itself. as soon as I open the GMC app, the watch syncs and the BLE connection starts working again (but only temporary).
The BLE_HOST_TIMEOUT problem is unfortunately very intermittent. Sometimes it would work for hours and sometimes I get it more or less all the time. I have noticed that the problem is more frequent if I use other apps on the mobile phone (e.g. browse the Internet), and also when the mobile phone roams between wifi and 3G/4G connectivity. Also, it happens very frequently when the watch has been out of BT reach and then get back its BT connection with the phone.
My main assumption is that something broke with the "BLE Internet gateway" in GCM after a recent update (the app looks very different now vs before so I assume a major deploy was made just before the summer.
Is there anyone else here seeing the same issue lately? Also, do you know where I can get in touch with the GCM developers to ask them directly? I have posted tickets previously in the GMC group here but never gotten any responses back
Device tested: Fenix 5 (Sw version 25.00)
iOS 15.6.1
GMC ver. 4.58.2.2