1syntax = "proto3"; 2 3package aae.blemessagestream; 4 5option java_package = "com.android.car.BleStreamProtos"; 6option java_outer_classname = "BlePacketProto"; 7 8// A packet across a BLE channel. 9message BlePacket { 10 // A 1-based packet number. The first message will have a value of "1" rather 11 // than "0". 12 fixed32 packet_number = 1; 13 14 // The total number of packets in the message stream. 15 int32 total_packets = 2; 16 17 // Id of message for reassembly on other side 18 int32 message_id = 3; 19 20 // The bytes that represent the message content for this packet. 21 bytes payload = 4; 22} 23