Myles Watson | 960cae2 | 2016-11-23 16:51:17 -0800 | [diff] [blame^] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IBluetoothHci" |
| 4 | |
| 5 | package: "android.hardware.bluetooth" |
| 6 | |
| 7 | import: "android.hardware.bluetooth@1.0::IBluetoothHciCallbacks" |
| 8 | import: "android.hardware.bluetooth@1.0::types" |
| 9 | |
| 10 | interface: { |
| 11 | api: { |
| 12 | name: "initialize" |
| 13 | return_type_hidl: { |
| 14 | type: TYPE_ENUM |
| 15 | predefined_type: "::android::hardware::bluetooth::V1_0::Status" |
| 16 | } |
| 17 | arg: { |
| 18 | type: TYPE_HIDL_INTERFACE |
| 19 | predefined_type: "IBluetoothHciCallbacks" |
| 20 | is_callback: false |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | api: { |
| 25 | name: "sendHciCommand" |
| 26 | arg: { |
| 27 | type: TYPE_VECTOR |
| 28 | vector_value: { |
| 29 | type: TYPE_SCALAR |
| 30 | scalar_type: "uint8_t" |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | api: { |
| 36 | name: "sendAclData" |
| 37 | arg: { |
| 38 | type: TYPE_VECTOR |
| 39 | vector_value: { |
| 40 | type: TYPE_SCALAR |
| 41 | scalar_type: "uint8_t" |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | api: { |
| 47 | name: "sendScoData" |
| 48 | arg: { |
| 49 | type: TYPE_VECTOR |
| 50 | vector_value: { |
| 51 | type: TYPE_SCALAR |
| 52 | scalar_type: "uint8_t" |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | api: { |
| 58 | name: "close" |
| 59 | } |
| 60 | |
| 61 | } |