Querying firmware versions?

I'm wondering if there's a way to query for the device's firmware version?

I'm not seeing anything in the SDK docs so far, but it's possible I've missed it.

The use-case here is, I know that my app doesn't work with certain versions of older firmware, and I'd like to present a helpful 'Please upgrade screen', rather than the current behavior which is typically some form of crash. (I haven't been able to replicate this locally, so these accounts are second-hand, but evidence is building that it really is just older firmware...)
  • You know I wish the SDK documentation would include which versions of the firmware support a particular call.


    Technically, you shouldn't care about the version of the firmware, only about the ConnectIQ API version that your application depends on. Ideally these would say something like

    phoneConnected (ConnectIQ X.Y.Z or later)


    Then Garmin would maintain some mapping between ConnectIQ API versions and firmware releases for using on the app store.
  • Technically, you shouldn't care about the version of the firmware, only about the ConnectIQ API version that your application depends on. Ideally these would say something like



    Then Garmin would maintain some mapping between ConnectIQ API versions and firmware releases for using on the app store.


    Leaky abstractions are leaky :)
  • Former Member
    Former Member over 10 years ago
    phoneConnected (ConnectIQ X.Y.Z or later)


    Stay tuned. ;)

    Then Garmin would maintain some mapping between ConnectIQ API versions and firmware releases.


    I would actually like to include this in the documentation but I think it would require some changes to the documentation tools. At a minimum I think we could create a page somewhere that has all the mappings so developers could compare the CIQ API value in the API docs to a device's firmware version. I'll create a ticket to look into this further.
  • You know I wish the SDK documentation would include which versions of the firmware support a particular call. Something like:

    phoneConnected (VA 2.60+)


    Trust me, I pinged the CIQ folks about that back when 2.50 was the newest FW for the va, and it may be in the next SDK update, as there hasn't been an update to the SDK since that time.
  • Ui.Confirmation, Ui.NumberPicker, Ui.ProgressBar, Ui.TextPicker, Ui.WatchFace, Toybox.Attention, View.findDrawableById(), Gfx.FONT_NUMBER_MILD, Gfx.FONT_NUMBER_MEDIUM, Gfx.FONT_NUMBER_HOT, Gfx.FONT_NUMBER_THAI_HOT, and Gfx.TEXT_JUSTIFY_VCENTER are a few that come immediately to mind. These became available in early versions of the SDK (after the fr920xt, but before the vivoactive) so the chance of them biting you is minimal.

    I started with the SDK ver 1.0.0 when the va came out, so I've seen these on the va.