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

New MSPv2 VTX Query Message Types #202

Merged
merged 7 commits into from
Jun 19, 2024

Conversation

SumolX
Copy link
Contributor

@SumolX SumolX commented May 31, 2024

Allows for devices such as the Flipper Zero HDZ Toolkit to gain insight into the VTX current state.
Cleaned up msp protocol definitions which now match betaflight/inav and place them within a new file called msp_protocol.h
Fixed MSPv2 parsing bug (Did not handle length of zero)

New MSPv2 VTX Message Types:
#define MSP_VTX_GET_MODEL_NAME 0x0384 // Query VTX for name
#define MSP_VTX_GET_FC_VARIANT 0x0385 // Query VTX for flight controller variant
#define MSP_VTX_GET_FW_VERSION 0x0386 // Query VTX for firmware version
#define MSP_VTX_GET_TEMPERATURE 0x0387 // Query VTX for temperature in celcius
#define MSP_VTX_GET_HW_FAULTS 0x0388 // Query VTX for hardware errors

src/msp_displayport.c Outdated Show resolved Hide resolved
@SumolX SumolX changed the title New MSP_VTX_INFO message type added which is broadcasted at 1Hz New MSPv2 VTX Specific message types Jun 14, 2024
@SumolX SumolX changed the title New MSPv2 VTX Specific message types New MSPv2 VTX Query Message Types Jun 14, 2024
@SumolX
Copy link
Contributor Author

SumolX commented Jun 14, 2024

I am now code complete and the PR is ready for review.

@ligenxxxx ligenxxxx merged commit 25a2f54 into hd-zero:main Jun 19, 2024
10 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.

2 participants