getDeviceSettings().phoneConnected

Former Member
Former Member
I cant make Sys.getDeviceSettings().phoneConnected to work on my Edge 520. It works fine on fenix3 and also in simulator for edge520... but not on the device.. i just get FALSE value regardless of phone being correctly connected to device and working .


can somebody confirm this ?... is it working on edge 1000?
  • I don't have my edge_1000 on hand and I don't have an edge_520, but people have found with some devices that the phoneConnected flag is false if the device is connected, but has smart notifications disabled. Perhaps this is the case with the 520?
  • Former Member
    Former Member
    I don't have my edge_1000 on hand and I don't have an edge_520, but people have found with some devices that the phoneConnected flag is false if the device is connected, but has smart notifications disabled. Perhaps this is the case with the 520?


    edge devices dont display smart notifications (just calls and text messages).. this might be the problem...

    would be nice to have the api documentation updated to show what works and what doesnt on edge devices... and most importantly, make the simulator work as the device will.... no point being able to simulate something that wont work on the device itself
  • This is the old simulator vs emulator discussion. The tool that is provided with the SDK is a simulator. It is not intended to be a substitute for an actual device, it is just intended to be just good enough to to allow people to develop upon.
  • What version of GCM are you using? Seems that with some watches (I've tried a 230), when you are paired with GCM/Windows Phone, phoneConnected is always false, even if the devices are connected.
  • Former Member
    Former Member
    What version of GCM are you using? Seems that with some watches (I've tried a 230), when you are paired with GCM/Windows Phone, phoneConnected is always false, even if the devices are connected.

    3.4 on iphone. i doubt its gcm issue as the same widget on fenix3 with same phone works just fine
  • Right. That points to it being a firmware issue on certain devices as I eluded to previously.

    I've had a chance to test and I can confirm that the edge_1000 does not seem to set the phoneConnected flag correctly. I don't take this as much of a surprise though, as the device only supports data fields; the connection status icon is displayed right on the top of the screen (the bluetooth icon) if you tap the screen while in one of the built-in apps. Once apps and widgets are supported, this will be more of a problem since the built-in indicator won't be visible and those types of apps need to know if the connection is there to avoid errors making web requests.

    Does the edge_520 not display the bluetooth connection status at the top of the screen?

    Travis
  • I can confirm that this is not working.
  • I've raised this issue with the ConnectIQ team, so there isn't much else that can be done at this point.
  • Does anyone know if the `phoneConnected` flag is being mis-reported on the Fenix 3?

    I've received a bug report for that, but don't own a Fenix 3 myself, so would be curious if anyone happens to know this off-hand.

    Thanks!
  • I haven't get of any general problems with the f3, but as Travis noted in a earlier post here, some devices don't show it if "smart notifcations" is turned off. You could ask if that's the case for your user.

    And I've seen with (the 230 and) the last version of GCM/WP that it doesn't work either. See if the user is using a Windows Phone.