1syntax = "proto3"; 2 3package aae.blemessagestream; 4 5import "packages/services/Car/service/proto/operation_type.proto"; 6 7option java_package = "com.android.car.BleStreamProtos"; 8option java_outer_classname = "BleDeviceMessageProto"; 9 10// A message between devices. 11message BleDeviceMessage { 12 // The operation that this message represents. 13 OperationType operation = 1; 14 15 // Whether the payload field is encrypted. 16 bool is_payload_encrypted = 2; 17 18 // Identifier of the intended recipient. 19 bytes recipient = 3; 20 21 // The bytes that represent the content for this message. 22 bytes payload = 4; 23} 24