Code synchronization with latest tizen 4.0 codes
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / bt-service-oob.c
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  *              http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 #include <glib.h>
19 #include <string.h>
20
21 #include "bluetooth-api.h"
22 #include "bt-service-common.h"
23 #include "bt-service-oob.h"
24 #include "bt-service-event.h"
25
26 int _bt_oob_read_local_data(bt_oob_data_t *local_oob_data)
27 {
28         BT_CHECK_PARAMETER(local_oob_data, return);
29
30         return BLUETOOTH_ERROR_NOT_SUPPORT;
31 }
32
33 int _bt_oob_add_remote_data(
34                         bluetooth_device_address_t *remote_device_address,
35                         unsigned short address_type,
36                         bt_oob_data_t *remote_oob_data)
37 {
38         BT_CHECK_PARAMETER(remote_device_address, return);
39         BT_CHECK_PARAMETER(remote_oob_data, return);
40
41         return BLUETOOTH_ERROR_NOT_SUPPORT;
42 }
43
44 int _bt_oob_remove_remote_data(
45                         bluetooth_device_address_t *remote_device_address)
46 {
47         BT_CHECK_PARAMETER(remote_device_address, return);
48
49         return BLUETOOTH_ERROR_NOT_SUPPORT;
50 }
51