// CELP System Event protobufs
syntax = "proto3";
package celp.protobuf.se;
option optimize_for = SPEED;
//
// System Event details message
//
message Modem {
enum State {
STATE_MODEM_OK = 0;
STATE_MODEM_UNAVAILABLE = 1;
STATE_MODEM_WRITE_ERROR = 2;
STATE_MODEM_CONNECTION_ERROR = 3;
}
// The state of the modem
State state = 1;
// The error message set when in an error state
string error_message = 3;
}