Garmin Plugin Test Page


Initalizing and finding devices

Is Plugin is installed in your browser:
JSDoc for the above command:
Garmin.DevicePlugin.getVersionXml()

Unlock the Plugin and start finding devices:
(You can get a key here: Garmin Plugin Site Key Generator )

JSDoc for the above command:
Garmin.DevicePlugin.unlockl(url, code) Garmin.DevicePlugin.startFindDevices()

Display xml information about the devices found:
JSDoc for the above command:
Garmin.DevicePlugin.finishFindDevices() Garmin.DevicePlugin.getDevicesXml()


Reading from a device

Initiate Read GpsXml from device number 0:
JSDoc for the above command:
Garmin.DevicePlugin.startReadFromGps(deviceNumber)

Check if read is complete:
JSDoc for the above command:
Garmin.DevicePlugin.finishReadFromGps() Garmin.DevicePlugin.getProgressXml() Garmin.DevicePlugin.getGpsXml()

Writing to a device

Filename to be put on the device:
Data to be written:
Write Gps data to device number 0:
JSDoc for the above command:
Garmin.DevicePlugin.startWriteToGps(gpsXml, filename, deviceNumber)

Check if write is complete:
JSDoc for the above command:
Garmin.DevicePlugin.finishWriteToGps() Garmin.DevicePlugin.getGpsProgressXml()


Reading Fitness Data from a device

Initiate HISTORY (TCX) read from device number 0: Check if read is complete: Cancel read:

Reading Fitness Directory from a device

Initiate HISTORY (TCX) Directory read from device number 0: Check if read is complete: Cancel read:
Initiate COURSE (TCX) read from device number 0: Check if read is complete: Cancel read:

Writing Fitness Course to a device

Filename to be put on the device:
Data to be written:
Write Gps data to device number 0:
JSDoc for the above command:
Garmin.DevicePlugin.startWriteFitnessData(tcdXml, deviceNumber, filenameFitness, deviceDescription)

Check if write is complete:
JSDoc for the above command:
Garmin.DevicePlugin.finishWriteFitnessData() Garmin.DevicePlugin.getProgressXml()