Webrequest SDK sample returns -104 status code when only on wifi.

Hi,

I have a fenix 7S and am attempting to run the web request SDK sample application on it.

Whilst I am connected to my phone, the requests are working correctly and I receive a 200 response. However, if I disconnect from the phone, the requests return a -104 error. I've tried on different wifi networks and get the same result.

However, if I attempt to perform a sync via wifi whilst the phone is disconnected, the sync completes.

Anyone encountered this issue?

  • In general, a watch like the f7s is not connected with wifi - in CIQ and watches, only when something forces wifi (see the bulk download sample in the SDK)

    Edge devices are different, as if you are not recording an activity, it's always connected over wifi.

    In the sim, .under Settings, connection type you'll see the difference with the f7s and edge530 for example.

  • Ok, understood thank you.

    Looking at the bulk download sample makes me question if there's a way to have wifi start up in the background or if there has to be a sync started (which seems to have a new view take over).

    For my app I will be sending requests multiple times a second, so would that keep the wifi on once it is forced on? I can test out to find out, but if you happen to already know that would be great!