-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add cellular_status and cellular_modem_info #309
base: main
Are you sure you want to change the base?
Conversation
protos/telemetry/telemetry.proto
Outdated
@@ -640,6 +658,26 @@ message RcStatus { | |||
float signal_strength_percent = 3 [(mavsdk.options.default_value)="NaN"]; // Signal strength (range: 0 to 100, NaN if unknown) | |||
} | |||
|
|||
// Cellular modem status type. | |||
message CellularStatus { | |||
uint32 id = 1;// (actually uint8_t) |
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'd say there is no need to specify "actually uint8_t". The MAVSDK API does not have to explain the MAVLink implementation details. However, it would be nice to describe what those fields are, because this will be part of the generated documentation :-)
16b5579
to
5be6911
Compare
@@ -294,6 +314,39 @@ message RcStatus { | |||
float signal_strength_percent = 3 [(mavsdk.options.default_value)="NaN"]; // Signal strength (range: 0 to 100, NaN if unknown) | |||
} | |||
|
|||
// Cellular modem status type. | |||
message CellularStatus { | |||
uint32 status = 1; |
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.
By the way, this is how I added status flags for the winch as a separate proto message: https://github.com/mavlink/MAVSDK-Proto/pull/308/files#diff-c29712674081664a7c33c32b2a4772848836bbbe76c1f1de17d5cb82b9f512acR73-R88
I.e. all bit flags from MAVLink became Booleans in Proto.
There hasn't been activity here in a while. Are you still planning to complete this @akkawimo? |
PRs