2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #ifndef BT_SERVICE_PBAP_H
19 #define BT_SERVICE_PBAP_H
28 #define LOG_TAG "BLUETOOTH_FRWK_SERVICE"
29 #define ERR(fmt, args...) SLOGE(fmt, ##args)
31 int _bt_pbap_connect(const bluetooth_device_address_t *address);
33 int _bt_pbap_disconnect(const bluetooth_device_address_t *address);
35 int _bt_pbap_get_phonebook_size(const bluetooth_device_address_t *address,
36 int source, int type);
38 int _bt_pbap_get_phonebook(const bluetooth_device_address_t *address,
39 int source, int type, bt_pbap_pull_parameters_t *app_param);
41 int _bt_pbap_get_list(const bluetooth_device_address_t *address, int source,
42 int type, bt_pbap_list_parameters_t *app_param);
44 int _bt_pbap_pull_vcard(const bluetooth_device_address_t *address,
45 int source, int type, bt_pbap_pull_vcard_parameters_t *app_param);
47 int _bt_pbap_phonebook_search(const bluetooth_device_address_t *address,
48 int source, int type, bt_pbap_search_parameters_t *app_param);