1syntax = "proto2";
2
3package android.bluetooth.test_vendor_lib.model.devices.ScriptedBeaconBleAdProto;
4
5option optimize_for = LITE_RUNTIME;
6
7message BleAdvertisement {
8  optional bytes payload = 1;
9  optional bytes mac_address = 2;
10  optional uint32 delay_before_send_ms = 3;
11}
12
13message BleAdvertisementList {
14  repeated BleAdvertisement advertisements = 1;
15}
16
17message PlaybackEvent {
18  // These events should occur in order, starting from INITIALIZED
19  enum PlaybackEventType {
20    UNKNOWN = 0;
21    INITIALIZED = 1;
22    SCANNED_ONCE = 2;
23    WAITING_FOR_FILE = 3;
24    WAITING_FOR_FILE_TO_BE_READABLE = 4;
25    PARSING_FILE = 5;
26    PLAYBACK_STARTED = 6;
27    PLAYBACK_ENDED = 7;
28    // Error conditions
29    FILE_PARSING_FAILED = 8;
30  }
31  optional PlaybackEventType type = 1;
32  optional uint64 secs_since_epoch = 2;
33}
34