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

Add cellular_status and cellular_modem_info #309

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

@@ -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)
Copy link
Collaborator

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 :-)

@@ -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;
Copy link
Contributor

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.

@asimopunov asimopunov changed the title [WIP] Add cellular status to telem server and telem Add cellular_status and cellular_modem_info Feb 12, 2023
@julianoes
Copy link
Collaborator

There hasn't been activity here in a while. Are you still planning to complete this @akkawimo?

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.

4 participants