Skip to content

Instantly share code, notes, and snippets.

@0187773933
Created November 25, 2024 13:16
Show Gist options
  • Save 0187773933/dbc700412193d1f3bdc48a71fe25d170 to your computer and use it in GitHub Desktop.
Save 0187773933/dbc700412193d1f3bdc48a71fe25d170 to your computer and use it in GitHub Desktop.
Garmin SDK API
nano ~/.bash_profile

export PATH="/Users/morpheous/Library/Application Support/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-7.3.1-2024-09-23-df7b5816a/bin:$PATH"
> Monkey C: New Project
> Monkey C: Edit Products

Run > Run Without Debugging

> Monkey C: Build for Device

Temp Activity .FIT Recording Location on MacOSX

/private/var/folders/pb/bj4zbt0n7m9fxly966pn5c_c0000gn/T/com.garmin.connectiq/GARMIN/Activities/2024-11-22-08-50-15.fit

FIT Parsing

python3 -m pip install fitdecode --break-system-packages
fitjson --pretty -o out_file.json in_file.fit

Temp Compile and Emulate

monkeyc \
-d fenix7x_sim \
-f ./monkey.jungle \
-o ./bin/app.prg \
-y ./developer_key
connectiq ( manual/gui or via cli and detatch )
monkeydo ./bin/app.prg fenix7x

Layouts

Resize Image for Screen Size

sips -s format png --resampleHeightWidth 120 120 wsu2.png --out wsu3.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment