4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * Girishashok Joshi <girish.joshi@samsung.com>
8 * Chanyeol Park <chanyeol.park@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
25 #ifndef _BT_GATT_CLIENT_H_
26 #define _BT_GATT_CLIENT_H_
30 #endif /* __cplusplus */
32 #define GATT_SERV_INTERFACE "org.bluez.GattService1"
33 #define GATT_CHAR_INTERFACE "org.bluez.GattCharacteristic1"
34 #define GATT_DESC_INTERFACE "org.bluez.GattDescriptor1"
36 #define GATT_USER_DESC_UUID "00002901-0000-1000-8000-00805f9b34fb"
37 #define GATT_CHAR_CLIENT_CONF "00002902-0000-1000-8000-00805f9b34fb"
38 #define GATT_CHAR_SERVER_CONF "00002903-0000-1000-8000-00805f9b34fb"
39 #define GATT_CHAR_FORMAT "00002904-0000-1000-8000-00805f9b34fb"
41 gboolean _bluetooth_gatt_check_service_change_watcher_address(
42 const bluetooth_device_address_t *device_addr);
49 unsigned char UUID[16];
50 } bt_gatt_characteristic_write_info_t;
56 unsigned char UUID[16];
57 char adress[BLUETOOTH_ADDRESS_STRING_LENGTH];
58 } bt_gatt_characteristic_notify_info_t;
64 #endif /* __cplusplus */
65 #endif /*_BT_GATT_CLIENT_H_*/