Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of UnofficialGPS - GPS without bettercap ! #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Retsim
Copy link

@Retsim Retsim commented Sep 17, 2020

UnofficialGPS is the same plugin as the official / default / included GPS plugin (gps.py) for pwnagotchi.

But this time, instead of using bettercap as a dependency for handling our GPS data,
plugin will read serial (ex: /dev/ttyACM0) and parse GPS data directly from a separate thread.

I wrote this as the gps through bettercap was not working well for me, but was perfectly fine from command line.
It may help people with similar issues.

This plugin require pySerial python module that can be installed using:
sudo pip3 install pySerial
(and NOT serial, those are not the same modules /!).

No python module for the GPS data parsing (ex: nmea2) is required, as I wanted to be as direct as possible, and not rely on anything.

Only problem is, I don't know if pwnagotchi plugins supports dependencies declaration ?

UnofficialGPS is the same as the official / default GPS plugin.

But instead of using bettercap as a dependency for handling our GPS data.

Plugin is sufficient for itself, it reads serial (ex: /dev/ttyACM0) and parse GPS data directly from a thread.
Cleaning unrequired comments
Remove unecessary split
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