Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
message RadioStatus {
	// true if enabled AND successfully applied
	bool airplane_mode = 1;
	// If the last radio configuration change failed, error message is reported here.
    // Please note that there is also a per-modem configuration error reported under CellularStatus.
	string config_error = 2;
	// for every LTE network
	repeated CellularStatus cellular_status = 13;
	// later we can add status for every WiFi network
}

message CellularStatus {
	// logicallabel of the physical device
	string deviceName = 1;
	CellularModem modem = 2;
	OperatingState operatingState = 3;
	string controlProtocol = 4; // "qmi" or "mbim"
	string imei = 5;
	repeated CellularProvider providers = 6;
	// if the last configuration change failed, error message is reported here
	string configError = 10;
	// wwan servise periodically pings configured IP address. 
	// If the last probing failed, stderr of the probing method is published here.
	string probeError = 11;
}

message CellularModem {
	string model = 1;
	string revision = 2;
}  

enum CellularOperatingState {
	OPERATING_STATE_UNSPECIFIED = 0;
	OPERATING_STATE_ONLINE = 1;
	OPERATING_STATE_ONLINE_AND_CONNECTED = 2;
	OPERATING_STATE_RADIO_OFF = 3;  (AKA airplane mode)
	OPERATING_STATE_OFFLINE = 4;
	...
}

message CellularProvider {
	string plmn = 1;
	string description = 2;
	bool currentServing = 3;
	bool roaming = 4;
}

...