Send command to device

vrish3 months ago

Hi,
I'm using a g108 GPS that uses jt808 protocol. I'm able to run it on HUABAO protocol port 5015.

  1. Are there commands that are available for engine cutoff / resume for this device / protocol? I've looked through the documentation but wasn't able to find anything specific.
  2. I have also tried to build my own command based on the documentation ( https://www.roadragon.com/uploads/JT808-protocol.pdf ) and am able to generate a message successfully 7E8500000A013670654390000101286375742C312C3029047E, and send to the device, but the device does not respond. I'm able to execute the same command using SMS and the engine gets cut. Any thoughts on how I can debug this using the Traccar code?
Richard Acostaa month ago

Hi, i'm still stuck on this.

Another user sent me this code 7E810500010190999999998D2564D87E, but is also useless.

vrisha month ago

This is my payload and a breakdown.

7E8300000AXXXXXXXXXXXX000001286375742C312C3129687E

Payload: 286375742C312C3129 (lock / cut engine power)

  1. 7E - FLAG_BIT (static)
  2. 8300 - Static Text
  3. 000A - Length of Payload (step 6)
  4. XXXXXXXXXXXX - Device Unique ID
  5. 000001 - Sequence # (Do not change unless you are managing sequence #)
  6. 286375742C312C3129 - Payload
  7. 68 - Checksum (calculate checksum XOR all bytes from step 2 till step 6)
  8. 7E - FLAG_BIT (static)
Richard Acosta21 days ago

Did that work?

vrish20 days ago

Yes. Generate your payload based on mine.