BLE implemention for Android Platform
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / ethernet_adapter / arduino / caethernetnwmonitor.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 #include "caethernetinterface_singlethread.h"
22
23 #include <Arduino.h>
24 #include <Ethernet.h>
25 #include <socket.h>
26 #include <w5100.h>
27 #include <EthernetUdp.h>
28 #include <IPAddress.h>
29 #include "logger.h"
30 #include "caadapterutils.h"
31 #include "caethernetadapter_singlethread.h"
32
33 #define ETHERNET_MONITOR_TAG "ETHERNET_MONITOR"
34
35 CAResult_t CAEthernetInitializeNetworkMonitor(void)
36 {
37     return CA_STATUS_OK;
38 }
39
40 CAResult_t CAEthernetStartNetworkMonitor(void)
41 {
42     return CA_STATUS_OK;
43 }
44
45 CAResult_t CAEthernetGetInterfaceInfo(char **interfaceName, char **ipAddress)
46 {
47     return CA_STATUS_OK;
48 }
49
50 bool CAEthernetIsConnected(void)
51 {
52     return true;
53 }
54
55 void CAEthernetSetConnectionStateChangeCallback
56     (CAEthernetConnectionStateChangeCallback callback)
57 {
58     return;
59 }
60
61 CAResult_t CAEthernetStopNetworkMonitor(void)
62 {
63     return CA_STATUS_OK;
64 }
65
66 void CAEthernetTerminateNetworkMonitor(void)
67 {
68     return;
69 }