fix(gps): remember valid fixes across search cycle - #11697
Conversation
@lnx13, Welcome to Meshtastic!Thanks for opening your first pull request. We really appreciate it. We discuss work as a team in discord, please join us in the #firmware channel. Welcome to the team 😄 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughGPS scheduling records valid fixes during active search cycles and clears the state at search or scheduler reset. GPS acquisition reports fixes to the scheduler. Timeout and lock decisions use the scheduler’s search-scoped fix state. ChangesGPS valid-fix tracking
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🔵 Low · up to This change remembers valid GPS fixes through a search cycle so successful locks are preserved, but disabling GPS during an active search can temporarily leave scheduler state out of sync with the powered-down hardware. The PR is mergeable with owner awareness or follow-up to explicitly reset or terminate the search state on disable. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description includes the issue reference, test confirmation, regression-test attestation, and tested hardware. The listed device checkboxes are not required because the author specified the tested RAK WisMesh Tag under Other. Full details: Linked Issues checkExplanation The changes directly address issue
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Separate one-time SoftDevice and service setup from runtime advertising. Restore TX power and pairing security, including NO_PIN MITM state, on enable; disable restart-on-disconnect before stopping links. Keep PowerFSM subject to the saved user preference. Adapt the BLE security and nonblocking pairing fixes from upstream master b7e0dc3 (meshtastic#10859). Initial audit: local base 8515144 (firmware identical to validated cc704b8); upstream develop 5920d05, master 6d41e27. Preserve prior selective fixes meshtastic#11651, meshtastic#11659, meshtastic#11671, meshtastic#11676, meshtastic#11678, meshtastic#11686, meshtastic#11688, meshtastic#11697 and meshtastic#11709. No broad merge or dependency updates.
fixes #11693
🤝 Attestations
RAK WisMesh Tag
Summary by CodeRabbit