Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
m2mconnectionsecuritypimpl_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 00017 #include "m2mconnectionhandler.h" 00018 #include "m2mconnectionsecurity.h" 00019 #include "mbed-client-mbedtls/m2mconnectionsecuritypimpl.h" 00020 #include "m2mtimer.h" 00021 #include "m2msecurity.h" 00022 #include <string.h> 00023 #include "m2mconnectionsecuritypimpl_stub.h" 00024 00025 int m2mconnectionsecuritypimpl_stub::int_value; 00026 00027 void m2mconnectionsecuritypimpl_stub::clear() 00028 { 00029 int_value = -1; 00030 } 00031 00032 M2MConnectionSecurityPimpl::M2MConnectionSecurityPimpl(M2MConnectionSecurity::SecurityMode mode) 00033 { 00034 00035 } 00036 00037 M2MConnectionSecurityPimpl::~M2MConnectionSecurityPimpl(){ 00038 } 00039 00040 void M2MConnectionSecurityPimpl::reset(){ 00041 } 00042 00043 int M2MConnectionSecurityPimpl::init(const M2MSecurity *security){ 00044 return m2mconnectionsecuritypimpl_stub::int_value; 00045 } 00046 00047 int M2MConnectionSecurityPimpl::connect(M2MConnectionHandler* connHandler){ 00048 return m2mconnectionsecuritypimpl_stub::int_value; 00049 } 00050 00051 int M2MConnectionSecurityPimpl::start_connecting_non_blocking(M2MConnectionHandler* connHandler) 00052 { 00053 return m2mconnectionsecuritypimpl_stub::int_value; 00054 } 00055 00056 int M2MConnectionSecurityPimpl::continue_connecting() 00057 { 00058 return m2mconnectionsecuritypimpl_stub::int_value; 00059 } 00060 00061 int M2MConnectionSecurityPimpl::send_message(unsigned char *message, int len){ 00062 return m2mconnectionsecuritypimpl_stub::int_value; 00063 } 00064 00065 int M2MConnectionSecurityPimpl::read(unsigned char* buffer, uint16_t len){ 00066 return m2mconnectionsecuritypimpl_stub::int_value; 00067 } 00068 00069 void M2MConnectionSecurityPimpl::timer_expired(M2MTimerObserver::Type type){ 00070 } 00071 00072 void M2MConnectionSecurityPimpl::set_random_number_callback(random_number_cb){ 00073 } 00074 00075 void M2MConnectionSecurityPimpl::set_entropy_callback(entropy_cb){ 00076 }
Generated on Tue Jul 12 2022 12:28:37 by
