-
Notifications
You must be signed in to change notification settings - Fork 1
support msp version 2 #3
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
Open
amfern
wants to merge
26
commits into
hashmismatch:master
Choose a base branch
from
msp-rs:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
2e680a9
support msp version 2
amfern 797a2a6
fix msp v2 packet parsing
amfern 4f95d40
fork multiwii-serial-protocol
amfern cebb423
use rust vec instead of Cow, avoid lifetime static to the caller
amfern 8ccba3b
add msp2 message ids
amfern 937f816
upgrade packet_struct to latest
amfern d8ac5b4
add msp structs
amfern 8e5a794
add inav common settings msp
amfern 7ee2090
rename section_type to setting_type
amfern 708c077
use enum for serial baurdrates
amfern 57348aa
prefix osd layout with msp
amfern e11cbb5
redefine serial identifier with enum
amfern 17cec50
refactor msp servo mix rule packet
amfern ef9e45b
upgrade version to 0.1.5
amfern 5fece2b
add MspServoConfig packet
amfern 01bde57
implement inav osd layout
amfern 6bdc906
bump version 0.1.6
amfern 56d61c1
implement convert trait for baudate and serialidentifier
amfern 0d8745b
bump version 0.1.7
amfern 4396767
add OSD_CHAR msp commands
amfern 954a89e
bump version 0.1.8
amfern 3863ad0
support inav flavor of smix
amfern ba4d575
optional support common setting int32 feature
amfern 38d4f48
bump version 0.1.9
amfern 673d619
fix servo struct to use int setting
amfern 522de64
bump version 0.1.11
amfern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
[package] | ||
name = "multiwii_serial_protocol" | ||
name = "multiwii_serial_protocol_v2" | ||
description = "A Multiwii Serial Protocol (MSP) implementation for Rust" | ||
repository = "https://github.com/hashmismatch/multiwii_serial_protocol.rs" | ||
version = "0.1.1" | ||
authors = ["Rudi Benkovic <[email protected]>"] | ||
repository = "https://github.com/amfern/multiwii_serial_protocol.rs" | ||
version = "0.1.11" | ||
authors = ["Rudi Benkovic <[email protected]>", "Ilya Guterman <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
packed_struct = "0.2" | ||
packed_struct_codegen = "0.2" | ||
packed_struct = "0.3" | ||
packed_struct_codegen = "0.3" | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
crc-any = "2.3" | ||
|
||
[features] | ||
default = ["std"] | ||
std = [] | ||
no_std = [] | ||
no_std = [] | ||
suppport_int32_setting_type = [] |
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer the
use
style imports, anyhow this surely better fits the rest of the code the way it is.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just tried to make it work, not so proficient with rust to have opinion yet