• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package aae.blemessagestream;
4
5option java_package = "com.android.car.BLEStreamProtos";
6option java_outer_classname = "BLEOperationProto";
7
8// The different message types that indicate the content of the payload.
9//
10// Ensure that these values are positive to reduce incurring too many bytes
11// to encode.
12enum OperationType {
13  // The contents of the payload are unknown.
14  //
15  // Note, this enum name is prefixed. See
16  // go/proto-best-practices-checkers#enum-default-value-name-conflict
17  OPERATION_TYPE_UNKNOWN = 0;
18
19  // The payload contains handshake messages needed to set up encryption.
20  ENCRYPTION_HANDSHAKE = 2;
21
22  // The message is an acknowledgment of a previously received message. The
23  // payload for this type should be empty.
24  ACK = 3;
25
26  // The payload contains a client-specific message.
27  CLIENT_MESSAGE = 4;
28}
29