blob: afaab6cd6741efce2916056bddff7f1e552bb174 [file] [log] [blame]
Myles Watsonacfbd252016-09-12 10:58:42 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.bluetooth@1.0;
18
19/* The interface from the Bluetooth Controller to the stack. */
20interface IBluetoothHciCallbacks {
21 /**
22 * This function is invoked when an HCI event is received from the
23 * Bluetooth controller to be forwarded to the Bluetooth stack.
24 * @param event is the HCI event to be sent to the Bluetooth stack.
25 */
26 oneway hciEventReceived(HciPacket event);
27
28 /**
29 * Send an ACL data packet form the controller to the host.
30 * @param data the ACL HCI packet to be passed to the host stack
31 */
32 oneway aclDataReceived(HciPacket data);
33
34 /**
35 * Send a SCO data packet form the controller to the host.
36 * @param data the SCO HCI packet to be passed to the host stack
37 */
38 oneway scoDataReceived(HciPacket data);
39};