Skip to content

Add support for 0x79 header and extended GT06 messages - #29

Open
jrobertogram wants to merge 2 commits into
vondraussen:masterfrom
jrobertogram:fix/support-7979-header-and-info-parsing
Open

Add support for 0x79 header and extended GT06 messages#29
jrobertogram wants to merge 2 commits into
vondraussen:masterfrom
jrobertogram:fix/support-7979-header-and-info-parsing

Conversation

@jrobertogram

@jrobertogram jrobertogram commented May 25, 2025

Copy link
Copy Markdown

This PR adds support for GT06 messages that start with 0x79 as well as new protocol numbers:

  • 0x22: Extended Location
  • 0x94: Info Message
  • 0x20: Extended Info
  • 0x08: Info Short

Also introduces:

  • Updated checkHeader to accept 0x79 headers
  • Updated sliceMsgsInBuff to handle both 0x7878 and 0x7979
  • New parseInfo function to decode extra data for info messages
  • Improved selectEvent to recognize all new types

This resolves Issue #23.

Tested with real data from GT06 J16 4G devices.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected error

1 participant