Mobicom G102 Chines device protocol implementation

oyhan 4 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

oyhan 4 years ago

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

Anton Tananaev 4 years ago

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

oyhan 4 years ago

I've changed the code at the mentioned line to

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

its working

oyhan 4 years ago

Sorry I saw your post now.

oyhan 4 years ago

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

Titan 4 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 Tananaev 4 years ago

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