2 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.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
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing,
11 * software 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.
17 #ifndef __BT_CALLBACK_H
18 #define __BT_CALLBACK_H
24 #include <bluetooth.h>
26 void _bt_cb_state_changed(int result,
27 bt_adapter_state_e adapter_state,
30 void _bt_cb_discovery_state_changed(int result,
31 bt_adapter_device_discovery_state_e discovery_state,
32 bt_adapter_device_discovery_info_s *discovery_info,
35 void _bt_cb_bonding_created(int result, bt_device_info_s *device_info,
38 void _bt_cb_bonding_destroyed(int result, char *remote_address,
41 void _bt_cb_service_searched(int result, bt_device_sdp_info_s *sdp_info,
44 void _bt_cb_hid_state_changed(int result, bool connected,
45 const char *remote_address,
48 void _bt_cb_audio_state_changed(int result, bool connected,
49 const char *remote_address,
50 bt_audio_profile_type_e type,
56 #endif /* __BT_CALLBACK_H */