joey shelton / LED_Demo

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers m2minterfaceimpl_stub.cpp Source File

m2minterfaceimpl_stub.cpp

00001 /*
00002  * Copyright (c) 2015 ARM Limited. All rights reserved.
00003  * SPDX-License-Identifier: Apache-2.0
00004  * Licensed under the Apache License, Version 2.0 (the License); you may
00005  * not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #include "m2minterfaceimpl_stub.h"
00017 #include "common_stub.h"
00018 
00019 u_int8_t m2minterfaceimpl_stub::int_value;
00020 String m2minterfaceimpl_stub::string_value;
00021 bool m2minterfaceimpl_stub::bool_value;
00022 
00023 void m2minterfaceimpl_stub::clear()
00024 {
00025     int_value = 0;
00026     bool_value = false;
00027     string_value = "";
00028 }
00029 
00030 M2MInterfaceImpl::M2MInterfaceImpl(M2MInterfaceObserver& observer,
00031                                    const String &,
00032                                    const String &,
00033                                    const int32_t,
00034                                    const uint16_t,
00035                                    const String &,
00036                                    M2MInterface::BindingMode,
00037                                    M2MInterface::NetworkStack,
00038                                    const String &)
00039 : _observer(observer),
00040   _current_state(0),
00041   _max_states( STATE_MAX_STATES ),
00042   _event_generated(false),
00043   _event_data(NULL)
00044 {
00045 }
00046 
00047 M2MInterfaceImpl::~M2MInterfaceImpl()
00048 {
00049 }
00050 void M2MInterfaceImpl::bootstrap(M2MSecurity *)
00051 {
00052 }
00053 
00054 void M2MInterfaceImpl::cancel_bootstrap()
00055 {
00056 }
00057 
00058 void M2MInterfaceImpl::register_object(M2MSecurity *, const M2MObjectList &)
00059 {
00060 }
00061 
00062 void M2MInterfaceImpl::update_registration(M2MSecurity *, const uint32_t)
00063 {
00064 }
00065 
00066 void M2MInterfaceImpl::unregister_object(M2MSecurity*)
00067 {
00068 }
00069 
00070 void M2MInterfaceImpl::set_queue_sleep_handler(callback_handler)
00071 {
00072 
00073 }
00074 
00075 void M2MInterfaceImpl::set_platform_network_handler(void *)
00076 {
00077 
00078 }
00079 
00080 void M2MInterfaceImpl::set_random_number_callback(random_number_cb)
00081 {
00082 
00083 }
00084 
00085 void M2MInterfaceImpl::set_entropy_callback(entropy_cb)
00086 {
00087 
00088 }
00089 
00090 void M2MInterfaceImpl::coap_message_ready(uint8_t *,
00091                                 uint16_t ,
00092                                 sn_nsdl_addr_s *)
00093 {
00094 
00095 }
00096 
00097 void M2MInterfaceImpl::client_registered(M2MServer*)
00098 {
00099 
00100 }
00101 
00102 void M2MInterfaceImpl::registration_error(uint8_t, bool)
00103 {
00104 
00105 }
00106 
00107 void M2MInterfaceImpl::client_unregistered()
00108 {
00109 
00110 }
00111 
00112 void M2MInterfaceImpl::bootstrap_done(M2MSecurity *)
00113 {
00114 
00115 }
00116 
00117 void M2MInterfaceImpl::bootstrap_error()
00118 {
00119 
00120 }
00121 
00122 void M2MInterfaceImpl::coap_data_processed()
00123 {
00124 
00125 }
00126 
00127 void M2MInterfaceImpl::data_available(uint8_t*,
00128                             uint16_t,
00129                             const M2MConnectionObserver::SocketAddress &)
00130 {
00131 
00132 }
00133 
00134 void M2MInterfaceImpl::socket_error(uint8_t, bool)
00135 {
00136 
00137 }
00138 
00139 void M2MInterfaceImpl::address_ready(const M2MConnectionObserver::SocketAddress &,
00140                            M2MConnectionObserver::ServerType,
00141                            const uint16_t)
00142 {
00143 
00144 }
00145 
00146 void M2MInterfaceImpl::data_sent()
00147 {
00148 }
00149 
00150 void M2MInterfaceImpl::timer_expired(M2MTimerObserver::Type)
00151 {
00152 
00153 }
00154 
00155 void M2MInterfaceImpl::registration_updated(const M2MServer &)
00156 {
00157 }
00158 
00159 void M2MInterfaceImpl::value_updated(M2MBase *)
00160 {
00161 
00162 }
00163