Mobicom G102 Chines device protocol implementation

oyhan3 years ago

Things I've done to use the master branch version
. Cloned the last version from github
. Created a new release with gradlew assemble
. Replaced the above output with the "C:\Program Files\Traccar" path
. Restarted the traccar service

oyhan3 years ago

I'm not a man of Java
Did I do it right?

Anton Tananaev3 years ago

Looks correct. I have fixed the issue. Please try again now.

oyhan3 years ago

I've changed the code at the mentioned line to

   event.set(Position.KEY_RESULT,  commandResult.toString());

its working

oyhan3 years ago

Sorry I saw your post now.

oyhan3 years ago

Thanks, Anton
I merged your change
It's working very well till now
I appreciate you

Titan3 years ago

Is it normal that I have speed always in 0kn (what is kn?)
Is there sth special left to do to solve this?

Anton Tananaev3 years ago

It might be normal if your device doesn't report it or reports zero.