Send RTC time and DVR recording name from the TX backpack to the goggles#230
Closed
bob9 wants to merge 2 commits into
Closed
Send RTC time and DVR recording name from the TX backpack to the goggles#230bob9 wants to merge 2 commits into
bob9 wants to merge 2 commits into
Conversation
The TX backpack sends MSP_ELRS_BACKPACK_SET_RTC via ESP-NOW when the VRX backpack requests its startup packet, whenever its local clock has been set (via WiFi NTP or a SET_RTC message on its serial port, which now also seeds the local clock). The VRX backpack handles SET_RTC from ESP-NOW by setting its system clock and forwarding the time to the goggles (e.g. HDZero) over serial, reusing the existing SetRTC path that previously only ran during WiFi NTP sync.
New 0x030F message carries a race label the goggles use to name the next DVR recording (see hdzero-goggle dvr-race-names). The VRX backpack passes it through verbatim over the goggle serial link via a new MSPModuleBase::ForwardPacket; a no-op on non-MSP backpack modules.
Author
This was referenced Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two additions to the backpack ESP-NOW/MSP protocol, aimed at HDZero goggles but implemented via the standard module-dispatch pattern so other VRX modules can adopt them later:
RTC time sync (
MSP_ELRS_BACKPACK_SET_RTC, 0x030E — existing opcode, new transport)SET_RTCon its serial port (in addition to the existing WiFi NTP path).MSP_ELRS_REQU_VTX_PKT), the TX backpack replies with the current time over ESP-NOW — only when its clock has actually been set, and only on request (no periodic resync).SetRTC()path that previously only ran during WiFi NTP sync. On modules without an RTC serial protocol this is a no-op via theModuleBasestub.This gives HDZero goggles a correct clock (DVR file timestamps) without the pilot ever opening the backpack WiFi page.
DVR recording name (
MSP_ELRS_BACKPACK_SET_DVR_NAME, 0x030F — new opcode)MSPModuleBase::ForwardPacket; a no-op on non-MSP backpack modules.Notes
ModuleBase::SetRTC/ForwardPacketfollow the same empty-stub dispatch pattern asSetOSD/SetRecordingState.