https://github.com/abs0/GarminWebRequestTest
Simple app to demonstrate makeWebRequest() regression in Garmin ConnectIQ 2.3.X SDK *nix simulator
https://github.com/abs0/GarminWebRequestTest
Last synced: 3 months ago
JSON representation
Simple app to demonstrate makeWebRequest() regression in Garmin ConnectIQ 2.3.X SDK *nix simulator
- Host: GitHub
- URL: https://github.com/abs0/GarminWebRequestTest
- Owner: abs0
- Created: 2017-09-12T12:26:16.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2020-07-30T09:42:56.000Z (almost 5 years ago)
- Last Synced: 2025-02-15T18:31:40.199Z (3 months ago)
- Size: 5.86 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-garmin - GarminWebRequestTest
- awesome-garmin - GarminWebRequestTest
README
Simple test app to demonstrate makeWebRequest() issue with https in SDK 2.3.{1,2,3,4} Mac simulator
Based on the sample code provided by Garmin at
https://developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/Communications.html#makeWebRequest-instance_methodIf run under Windows or on a watch this returns a 200 and shows data
If run under Mac it return a 404
It will work on a Mac via http:
- Change the URL in GarminWebRequestTestApp.mc from https to http
- Run in simulator, it will fail with -1001 (SECURE_CONNECTION_REQUIRED)
- In simulator toggle Settings > Use Device HTTPS Requirements
- In simulator select File > Reset App Settings
The app will request again via http and report a 200 successNo (c) or anything else asserted, other than a slightly bewildered wondering if anyone actually develops for Garmin on
non Windows platformsDavid Brownlee [email protected]