Skip to content

A C++ driver to use C94-M8P module using UART communication

Notifications You must be signed in to change notification settings

NignetShark/c94m8p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C94-M8P C++ driver

Work in progress. Not stable.

Goal

Have a lightweight and customizable driver to interact with the C94-M8P GPS. It must give the basic tools like subscribe, poll and ack messages but it will not parse the content of messages to give an object version of the data. But for fixed messages it's easy to get fields by casting the payload to a struct.

Features currently implemented

  • Subscription to UBX / NMEA messages
  • Change UART port configuration (such as baudrate, protocols in/out)
  • Disable all GPS NMEA messages (without filtering in PRT config)

Test

See test/default.cpp for basic usage.

Installation

mkdir build
cd build
cmake ..
make
./default # Run example (the C94-M8P must be connected to /dev/ttyACM0 9600B)

About

A C++ driver to use C94-M8P module using UART communication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published