1syntax = "proto3"; 2 3package pandora; 4 5option java_outer_classname = "HidProto"; 6 7service HID { 8 // Send a SET_REPORT command, acting as a HID host, to a connected HID device 9 rpc SendHostReport(SendHostReportRequest) returns (SendHostReportResponse); 10} 11 12// Enum values match those in BluetoothHidHost.java 13enum HidReportType { 14 HID_REPORT_TYPE_UNSPECIFIED = 0; 15 HID_REPORT_TYPE_INPUT = 1; 16 HID_REPORT_TYPE_OUTPUT = 2; 17 HID_REPORT_TYPE_FEATURE = 3; 18} 19 20message SendHostReportRequest { 21 bytes address = 1; 22 HidReportType report_type = 2; 23 string report = 3; 24} 25 26message SendHostReportResponse { 27 28}