Skip to content

Add PMTK GPS helper script, minor fixes and improvements to ptp4l-gm-set.sh - #42

Open
Deadevilgrounds wants to merge 2 commits into
jclark:mainfrom
Deadevilgrounds:main
Open

Add PMTK GPS helper script, minor fixes and improvements to ptp4l-gm-set.sh#42
Deadevilgrounds wants to merge 2 commits into
jclark:mainfrom
Deadevilgrounds:main

Conversation

@Deadevilgrounds

Copy link
Copy Markdown

This PR includes the following changes:

New Feature:

  • Added a helper script for sending and receiving PMTK commands to/from GPS modules. This is useful for debugging or configuring GPS units that support the PMTK command set.
  • python files/send_pmtk.py (to run it, uses argparse for neater cli help)

Improvement to ptp4l-gm-set.sh:

  • Added a delay to ensure ptp4l is fully up before sending pmc commands. Without this, PMC may fail to apply settings reliably.
  • Removed an unnecessary extra space.

I mainly created this for my own benefit, but it might be useful for someone else. 😄

Bates Larsson added 2 commits April 14, 2025 18:01
Added delay script to not allow the PMC command to run until PTP4l has started, otherwise the PMC settings wont take
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.

1 participant