* Working on cleaning wifi * Reworked bluetooth handshake based around @presslab-us's work * Forgot to remove a line
26 lines
661 B
Protocol Buffer
26 lines
661 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package openauto.btservice.proto;
|
|
|
|
enum Status {
|
|
STATUS_UNSOLICITED_MESSAGE = 1;
|
|
STATUS_SUCCESS = 0;
|
|
STATUS_NO_COMPATIBLE_VERSION = -1;
|
|
STATUS_WIFI_INACCESSIBLE_CHANNEL = -2;
|
|
STATUS_WIFI_INCORRECT_CREDENTIALS = -3;
|
|
STATUS_PROJECTION_ALREADY_STARTED = -4;
|
|
STATUS_WIFI_DISABLED = -5;
|
|
STATUS_WIFI_NOT_YET_STARTED = -6;
|
|
STATUS_INVALID_HOST = -7;
|
|
STATUS_NO_SUPPORTED_WIFI_CHANNELS = -8;
|
|
STATUS_INSTRUCT_USER_TO_CHECK_THE_PHONE = -9;
|
|
STATUS_PHONE_WIFI_DISABLED = -10;
|
|
}
|
|
|
|
message SocketInfoResponse
|
|
{
|
|
optional string ip_address = 1;
|
|
optional int32 port = 2;
|
|
required Status status = 3;
|
|
}
|