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.
19 #ifndef _BT_SERVICE_PROXIMITY_H_
20 #define _BT_SERVICE_PROXIMITY_H_
23 #include <sys/types.h>
24 #include "bluetooth-api.h"
32 BT_PXP_ALERT_NONE = 0,
35 } bt_proximity_alert_value_t;
38 BT_PXP_PROPERTY_LLS = 0x01,
39 BT_PXP_PROPERTY_IAS = 0x02,
40 BT_PXP_PROPERTY_TX_POWER = 0x04
41 } bt_proximity_alert_property_t;
43 int bt_set_proximity_property(bluetooth_device_address_t *device_address,
44 unsigned int property, int value);
46 int bt_get_proximity_property(bluetooth_device_address_t *device_address,
47 unsigned int property, int *value);
49 int bt_get_proximity_supported_services(bluetooth_device_address_t *device_address,
50 unsigned int *supported_services);
54 #endif /* __cplusplus */
55 #endif /*_BT_SERVICE_PROXIMITY_H_*/