Build and Test for CIQ 6.0

Hi,

I was (naively ?) thinking with new SDK 9.1 I would be able to use the new API capabilities such as ScanCode in the SIM?
But when I launch a Debug session, the Sim shows v5.2 in the title-bar so when I have code wrapped with _If (Toybox has :ScanCode)_ ... which, as it is API 6, does not enter the block.

So how do we test new capabilities?

In a moment of madness I thought to change the compiler.json for the Edge 1040 -- which makes no difference in the Sim behaviour (did I miss something?) but when >Build for Device and sideload the PRG files on my Edge 1040 (that I know from the About pages has CIQ 6.0.0) ... the code does go into the block and after a bit of old-skool println debugging I could render the generated QR code.

But this hack seems not the correct way to deploy Release versions.

This is my first year of going through a major version bump; are there updates to the device JSON still to come or something else? 

Image for attraction...

Top Replies

All Replies

  • FYI new device updates have dropped in the Connect IQ manager sometime around 17 March 2026

    These include updates to "connectIQVersion": "6.0.0" in compiler.json

    Thanks for the heads up.

    If your app is not using CIQ 6 features, does the device updates actually change anyhting in the compiled code, or are they relevant only for the simulator?

  • From my previous observations, new CIQ 6 features would not be incorporated into the compiled code until the compiler.json version was updated. Whether that was updated compiled binary of just flags in PRG I wouldn’t know.

    So my “if has :ScanCode” to display a QR code for support, rather than openWebPage(), didn’t previously show on CIQ6 Edge 1040 until I recompiled after the compiler.json … though actually with the release version it’s not showing on Edge 1040 on device or in Sim.  But is for Fenix8, so I’m confused.  If I hadn’t captured the screenshot above of it working I’d really doubt myself it happened.

  • Hi,

    Is it possible to compile for CIQ 6.0 devices without updating to SDK 9.1?