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

Enable NMEA Messages on USB port for u-blox receivers #3227

Merged
merged 29 commits into from
Feb 15, 2024

Conversation

GPSFan
Copy link
Contributor

@GPSFan GPSFan commented Feb 15, 2024

Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.

jp-bennett and others added 29 commits January 28, 2024 10:30
tweak M8 commands
add comments for VALSET configuration commands
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.
@thebentern
Copy link
Contributor

Would it be worthwhile to gate this to only native targets? I'm mostly wondering if there's a power usage penalty for enabling it.

thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 15, 2024
@GPSFan
Copy link
Contributor Author

GPSFan commented Feb 15, 2024

It was enabled when I started the rework project, I didn't consider the native linux requirement till last night when Jonathan Bennett asked about it, frankly I had forgotten I turned it off. On the Neo-6/7 and M8 modules there is a separate VDD_USB pin which is supposed to be grounded, and is whne usb is not used, like on the t-beams. I can do some tests on an M8 module with and without the NMEA messages coming out the USB and see what difference it makes.

@GPSFan
Copy link
Contributor Author

GPSFan commented Feb 15, 2024

Done some power tests and I can't see any differences with data going out USB as well as serial. The Neo-6/7/M8 have a seperate VDD_USB pin which powers the USB guts, so on things like t-beams where that pin is grounded (as suggested by u-blox) the only additional power consumption is the additional cpu work to fill the usb buffer. In any case, I saw no differences.

@thebentern thebentern merged commit fdc27fe into meshtastic:master Feb 15, 2024
66 checks passed
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.

3 participants