go-egts

module
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MIT

README

go-egts GoDoc Sourcegraph Go Report Card GitHub tag Build Status

EGTS (Era Glonass Telematics Standard) parsing via Golang

PR's are welcome!

TODO:

  • Refactor code to make it more clear WIP
  • Test coverage
  • NEED TO BE REFACTORED Example of TCP server (see /example/main.go)
  • Examples for hex strings / pure []byte
  • Additional SubRecordType: EGTS_SR_ACCEL_DATA Thanks to @sinkevichmm
  • Advanced server example

Installation

go get -u github.com/LdDl/go-egts/...

Testing

go test -timeout 30s github.com/LdDl/go-egts/egts/packet

Current usage

You can start TCP server and check how it is parsing EGTS data by command below (from package folder)

go run example/main.go

Directories

Path Synopsis
crc
crc16
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
crc8
Package crc8 implements the 8-bit cyclic redundancy check, or CRC-8, checksum.
Package crc8 implements the 8-bit cyclic redundancy check, or CRC-8, checksum.
egts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL