It used to be in the downloaded folder sdk, like connectiq-sdk-mac-3.1.9-2020-06-24-1cc9d3a70, but no longer.
Where should I look to find the features of the new devices, like VENU SQ?
Mac, Eclipse, SDK 4.0.4
It used to be in the downloaded folder sdk, like connectiq-sdk-mac-3.1.9-2020-06-24-1cc9d3a70, but no longer.
Where should I look to find the features of the new devices, like VENU SQ?
Mac, Eclipse, SDK 4.0.4
There's no such file anymore, as of SDK 3.2.
1) Device information is stored separately from your SDK. Devices can be updated without updating the SDK and vice-versa
2) In the Devices folder (*), each device has its own subfolder (named after the "device ID", such as "fr935" or "venusq"), each of which has files named compiler.json and simulator.json which contain device-specific information
(*) If you open any given SDK folder that was downloaded by the new SDK manager, then the devices folder is located at "../../Devices".
The absolute path for devices would be: ~/Library/Application Support/Garmin/ConnectIQ/Devices
And the path for the parent folder for all SDKs would be: ~/Library/Application Support/Garmin/ConnectIQ/Sdks
See this thread for more information:
Thanks, again. I had found those device folders, but didn't think to examine the obscurely named compiler.json
So, now, instead of having the info in one file, where it could be interrogated in a single load, it's scattered across folders. Neither human-friendly or code-friendly.
Ho Hum.
In the linked thread I provided a way to merge all of that information into a single file if you so choose.
Looks like your solution depends on jq which is a bit too foreign for me. Thanks. I'll have to work up my own solution in PHP.
Okay, it's up to you. It's literally just a one-liner to combine all the compiler.json files (for example), assuming you're already in the Devices folder.
jq --slurp '.' */compiler.json > devices.json
The reason I suggested jq is because it's literally designed to manipulate json files.
Installed and run, works! Monkey see Monkey do. It's all black magic to me!