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

Don't send potentially bogus timestamps with fixed location #4001

Merged
merged 1 commit into from
May 31, 2024

Conversation

jp-bennett
Copy link
Collaborator

I'm seeing a situation where a "rogue" node thinks it has a valid timestamp, but doesn't. It's using fixed position, so the wrong timestamp is overwriting a time provided by another node that actually has a GPS.

@thebentern thebentern merged commit 8d90c49 into master May 31, 2024
82 checks passed
@thebentern thebentern deleted the unbogus-timestamps branch May 31, 2024 12:14
@wnagele
Copy link
Contributor

wnagele commented Jun 10, 2024

@thebentern this will result in no time source availability in a mesh where no GPS nodes are present. I would suggest to still allow NTP otherwise this is a pretty drastic change.

wnagele added a commit to wnagele/meshtastic-firmware that referenced this pull request Jun 10, 2024
@thebentern
Copy link
Contributor

Yes, I think NTP quality is probably a good compromise of allowing time source injections while avoiding poor quality times. Care to make a PR?

@thebentern this will result in no time source availability in a mesh where no GPS nodes are present. I would suggest to still allow NTP otherwise this is a pretty drastic change.

wnagele added a commit to wnagele/meshtastic-firmware that referenced this pull request Jun 10, 2024
@wnagele
Copy link
Contributor

wnagele commented Jun 10, 2024

Here you go: #4068

wnagele added a commit to wnagele/meshtastic-firmware that referenced this pull request Jun 10, 2024
wnagele added a commit to wnagele/meshtastic-firmware that referenced this pull request Jun 10, 2024
slash-bit pushed a commit to slash-bit/meshtastic-echo-echo that referenced this pull request Jul 4, 2024
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