trackpoint
The command sends a point in the current track. If the user did not sent the command that starts a new track, a new track will be started.
It is recommended that the client sends to the server this command at predetermined intervals or in the case of a significant change of the heading.
If a sending fails the trackpoint can be resubmitted in the next command together with the new trackpoint detected. In case of failure, no trackpoint will be inserted.
Command's fields description:
-
txtUser1 field is the “username” of MyWakes account.
-
txtUser2 field is the “password” of MyWakes account.
-
txtCommand field contains the command: “trackpoint”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
txtProvider field must contain the application calling ID and generated characters.
-
txtSignature field must contain the signature based on the string made of “Command Name” + “last trackpoint's time” + “last trackpoint's latitude” + “last trackpoint's longitude” + “generated character to 32”.
Looking at the previous example, the string on which calculate the check will be:
“trackpoint2010102518300044”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955axx”