For whoever may be interested, here is the command to invoke from Terminal (Command Prompt).
It does essentially the same what original Garmin Express does.
Code: Select all
curl "https://api.gcs.garmin.com/ephemeris/cpe/mtk/segments?segments=28" | sed -e "s/^\[{\"gpsHours\":[0-9]*,\"data\":\"//" -e "s/\"},{\"gpsHours\":[0-9]*,\"data\":\"//g" -e "s/\"}\]$//" | base64 -d > EPO.BINBut Windows contains only curl, so sed and base64 must be downloaded separately:
sed for Windows
base64 for Windows
But I have only posted the above for educational purposes. For regular user, the simplest way is to just use EPOupdate tool and forget about these magic spells.
