BA
/
BaBoRo1
Embed:
(wiki syntax)
Show/hide line numbers
AT_CellularBase_stub.cpp
00001 /* 00002 * Copyright (c) 2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 #include "nsapi_types.h" 00019 #include "AT_CellularBase.h" 00020 #include "AT_CellularBase_stub.h" 00021 00022 00023 using namespace mbed; 00024 00025 ATHandler *AT_CellularBase_stub::handler_value = NULL; 00026 ATHandler *AT_CellularBase_stub::handler_at_constructor_value = NULL; 00027 device_err_t AT_CellularBase_stub::device_err_value; 00028 00029 AT_CellularBase::AT_CellularBase(ATHandler& at) : _at(at) 00030 { 00031 AT_CellularBase_stub::handler_at_constructor_value = &_at; 00032 } 00033 00034 ATHandler& AT_CellularBase::get_at_handler() 00035 { 00036 return *AT_CellularBase_stub::handler_value; 00037 } 00038 00039 device_err_t AT_CellularBase::get_device_error() const 00040 { 00041 return AT_CellularBase_stub::device_err_value; 00042 } 00043
Generated on Tue Jul 12 2022 12:21:40 by
