Skip to content

Is GarminPlugin Status not yet implemented? #4

Open

Description

@twistedpair

@adiesner
I'm writing a GWT library for the Communicator API this weekend, gwt-garmin-api.

When I get the progressXML back from the plugin, the title element says "GarminPlugin Status not yet implemented." Is this not implemented still in the 4+ version? When I use the Linux plugin to transfer files on Garmin Connect, I see progress moving, so what part of this remains not implemented?

Thanks.

Activity

  1. adiesner commented on Feb 3, 2013

    @adiesner
    Owner

    Yes the function is not really properly implemented yet. The text will change if you start a transfer, and you will also receive a percentage value - but this value is simply a counter from 0 to 100 which gets incremented each time you ask for a new status. So it is currently possible that you will see the progress bar going up to 100% and then going back to 0% and up again.

    main.cpp

    updateProgressBar("Download to GPS", currentWorkingDevice->getProgress());

    gpsDevice.cpp

    int GpsDevice::getProgress() {
        if (progressState < 100) {
            progressState++;
        } else {
            progressState=0;
        }
        return progressState;
    }
  2. twistedpair commented on Feb 3, 2013

    @twistedpair
    Author

    @adiesner Thanks you for the explanation. I've not worked c++ in 5 years. Do you have any plans for implementing this feature? For now, I'll have to do this testing of the library in Windows (so sad) until then, but would like to do some Selenium automation integration tests on my Linux CI server eventually.

    Thanks for the great library. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions