Ble_host_timeout

I'm getting it as a response from Comm.makeWebRequest on a VA-HR fw 4.00.
The phone was physically adjacent to the watch (next to me in the car, under test conditions, driving).
The app is sending position history every 60 seconds, runs fine for a while, 7 minutes in this case, then starts to fail with response code -2 and continues to fail till I stop the app.
Difficult to reproduce as it's intermittent.
With an app restart it ran fine for 2 hours during normal operation.

What is a BLE_HOST_TIMEOUT?

I understand: BLE probably refers to Bluetooth Low Energy, and TIMEOUT probably means some response has not been received within an expected time period. But what condition would cause this?



  • Former Member
    Former Member
    Is this using GCM on iOS or Android? Like you, I would assume a host timeout implies that a failure occurred somewhere along the BLE stack on the phone/host resulting in a response timeout.

    In the case of android, are you able to reproduce this with adb running? If you can get logcat going, you might be able to check that the GCM service handling the requests is still up. If it is, then it is either in a weird state or the issue may be further down. If your phone allows you to monitor radio status and wakelocks, that might tell you whether the requests are even getting through.
  • Sorry, should have specified GCM iOS.
    Not well versed in iOS, so unable to debug GCM.
    Condition is very intermittent, so challenging to reproduce.
  • Former Member
    Former Member
    I am not an expert on iOS either. I know there is an activity monitor available through xcode that might give you some information, along with some other utilities for monitoring network traffic, but that is a decent amount of work either way.

    Which version of iOS are you using, and which version of GCM? Also, when you say an app restart, are you restarting your watch app or GCM?