openauto/btservice_proto/NetworkInfo.proto
Cole Brinsfield 3d96b6e6e3
bluetooth handshake / wifi rework (#18)
* Working on cleaning wifi

* Reworked bluetooth handshake based around @presslab-us's work

* Forgot to remove a line
2020-12-20 20:36:38 -06:00

31 lines
573 B
Protocol Buffer

syntax = "proto2";
package openauto.btservice.proto;
enum SecurityMode {
UNKNOWN_SECURITY_MODE = 0;
OPEN = 1;
WEP_64 = 2;
WEP_128 = 3;
WPA_PERSONAL = 4;
WPA2_PERSONAL = 8;
WPA_WPA2_PERSONAL = 12;
WPA_ENTERPRISE = 20;
WPA2_ENTERPRISE = 24;
WPA_WPA2_ENTERPRISE = 28;
}
enum AccessPointType {
STATIC = 0;
DYNAMIC = 1;
}
message NetworkInfo
{
required string ssid = 1;
required string psk = 2;
required string mac_addr = 3;
required SecurityMode security_mode = 4;
required AccessPointType ap_type = 5;
}