2013-10-11 18:02:02 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Intel Corporation
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2013-10-22 20:46:08 +08:00
|
|
|
#include <hardware/bluetooth.h>
|
2013-10-18 18:47:58 +08:00
|
|
|
#include <hardware/bt_sock.h>
|
|
|
|
#include <hardware/bt_hh.h>
|
2013-10-17 16:26:46 +08:00
|
|
|
#include <hardware/bt_pan.h>
|
2013-10-21 18:27:21 +08:00
|
|
|
#include <hardware/bt_av.h>
|
2014-01-23 22:30:21 +08:00
|
|
|
#include <hardware/bt_rc.h>
|
2014-02-03 05:09:12 +08:00
|
|
|
#include <hardware/bt_hf.h>
|
2014-03-03 18:56:11 +08:00
|
|
|
#include <hardware/bt_gatt.h>
|
|
|
|
#include <hardware/bt_gatt_client.h>
|
|
|
|
#include <hardware/bt_gatt_server.h>
|
2014-03-13 19:58:44 +08:00
|
|
|
#include <hardware/bt_hl.h>
|
2013-10-18 18:47:58 +08:00
|
|
|
|
2014-02-18 18:05:23 +08:00
|
|
|
btsock_interface_t *bt_get_socket_interface(void);
|
2013-10-18 18:47:58 +08:00
|
|
|
bthh_interface_t *bt_get_hidhost_interface(void);
|
2013-10-17 16:26:46 +08:00
|
|
|
btpan_interface_t *bt_get_pan_interface(void);
|
2013-11-07 23:32:07 +08:00
|
|
|
btav_interface_t *bt_get_a2dp_interface(void);
|
2014-01-23 22:30:21 +08:00
|
|
|
btrc_interface_t *bt_get_avrcp_interface(void);
|
2014-02-03 05:09:12 +08:00
|
|
|
bthf_interface_t *bt_get_handsfree_interface(void);
|
2014-03-03 18:56:11 +08:00
|
|
|
btgatt_interface_t *bt_get_gatt_interface(void);
|
2014-03-13 19:58:44 +08:00
|
|
|
bthl_interface_t *bt_get_health_interface(void);
|
2013-10-22 20:46:13 +08:00
|
|
|
|
2013-10-25 19:34:46 +08:00
|
|
|
void bt_thread_associate(void);
|
|
|
|
void bt_thread_disassociate(void);
|