4 * Copyright (c) 2015 -2016 Samsung Electronics Co., Ltd All Rights Reserved.
6 * Contact: Anupam Roy <anupam.r@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef _BT_HAL_INTERNAL_H_
23 #define _BT_HAL_INTERNAL_H_
26 #include <sys/types.h>
33 BT_HAL_MANAGER_EVENT = 0x01,
35 BT_HAL_LE_ADAPTER_EVENT,
41 BT_HAL_OPP_CLIENT_EVENT,
42 BT_HAL_OPP_SERVER_EVENT,
43 BT_HAL_PBAP_CLIENT_EVENT,
44 BT_HAL_RFCOMM_CLIENT_EVENT,
45 BT_HAL_RFCOMM_SERVER_EVENT,
47 BT_HAL_OBJECT_MANAGER_EVENT,
48 BT_HAL_MEDIA_TRANSFER_EVENT,
49 BT_HAL_HF_AGENT_EVENT,
50 BT_HAL_AVRCP_CONTROL_EVENT,
51 BT_HAL_A2DP_SOURCE_EVENT,
52 BT_HAL_HID_DEVICE_EVENT,
54 } bt_hal_event_type_t;
56 /* Profile states matched to btd_service_state_t of bluez service.h */
58 BT_HAL_PROFILE_STATE_UNAVAILABLE,
59 BT_HAL_PROFILE_STATE_DISCONNECTED,
60 BT_HAL_PROFILE_STATE_CONNECTING,
61 BT_HAL_PROFILE_STATE_CONNECTED,
62 BT_HAL_PROFILE_STATE_DISCONNECTING,
63 } bt_hal_profile_state_t;
66 #define HID_UUID "00001124-0000-1000-8000-00805f9b34fb"
67 #define A2DP_SINK_UUID "0000110b-0000-1000-8000-00805f9b34fb"
68 #define A2DP_SOURCE_UUID "0000110a-0000-1000-8000-00805f9b34fb"
69 #define AVRCP_CTRL_UUID "0000110e-0000-1000-8000-00805f9b34fb"
70 #define AVRCP_TARGET_UUID "0000110c-0000-1000-8000-00805f9b34fb"
71 #define HFP_HF_UUID "0000111e-0000-1000-8000-00805f9b34fb"
73 /* TODO More declarations to be added in subsequent patches */
76 #endif /* __cplusplus */
77 #endif /* _BT_HAL_INTERNAL_H_ */