Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / arduino / cableclient.cpp
1 /******************************************************************
2 *
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
4 *
5 *
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *      http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ******************************************************************/
20
21
22 //logger.h included first to avoid conflict with RBL library PROGMEM attribute
23 #include "logger.h"
24 #include "caleinterface.h"
25
26 #define TAG "LEC"
27
28 void CASetLEClientThreadPoolHandle(ca_thread_pool_t handle)
29 {
30     OIC_LOG(DEBUG, TAG, "IN");
31     OIC_LOG(DEBUG, TAG, "OUT");
32 }
33 void CASetLEReqRespClientCallback(CABLEClientDataReceivedCallback callback)
34 {
35     OIC_LOG(DEBUG, TAG, "IN");
36     OIC_LOG(DEBUG, TAG, "OUT");
37 }
38
39 void CASetBLEClientErrorHandleCallback(CABLEErrorHandleCallback callback)
40 {
41     OIC_LOG(DEBUG, TAG, "IN");
42     OIC_LOG(DEBUG, TAG, "OUT");
43 }
44
45 CAResult_t CAStartLEGattClient()
46 {
47     OIC_LOG(DEBUG, TAG, "IN");
48     OIC_LOG(DEBUG, TAG, "OUT");
49     return CA_STATUS_OK;
50 }
51 void CAStopLEGattClient()
52 {
53     OIC_LOG(DEBUG, TAG, "IN");
54     OIC_LOG(DEBUG, TAG, "OUT");
55 }
56
57 void CATerminateLEGattClient()
58 {
59     OIC_LOG(DEBUG, TAG, "IN");
60     OIC_LOG(DEBUG, TAG, "OUT");
61 }