// CELP System Event protobufs
syntax = "proto3";
package celp.protobuf.se;
option optimize_for = SPEED;
//
// System Event details message
//
message Network {
enum Source {
SOURCE_MODEM = 0;
SOURCE_ETHERNET = 1;
SOURCE_WIFI = 2;
}
enum State {
STATE_DOWN = 0;
STATE_UP = 1;
STATE_DISCONNECTED = 2;
STATE_CONNECTED = 3;
};
// The source of the network
Source source = 1;
// The state of the modem
State state = 3;
// The ip address for the connection
string ip_address = 5;
}