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.
GEMALTO_CINTERION_Module.h
00001 /* 00002 * Copyright (c) 2018, 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 #ifndef GEMALTO_CINTERION_MODULE_H_ 00019 #define GEMALTO_CINTERION_MODULE_H_ 00020 00021 #include "nsapi_types.h" 00022 00023 namespace mbed { 00024 00025 class FileHandle; 00026 00027 class GEMALTO_CINTERION_Module { 00028 public: 00029 /** Actual model of cellular module is needed to make AT command adaptation at runtime 00030 * to support many different models in one cellular driver. 00031 */ 00032 enum Model { 00033 ModelUnknown = 0, 00034 ModelELS61, 00035 ModelBGS2, 00036 ModelEMS31, 00037 }; 00038 static nsapi_error_t detect_model(const char *model); 00039 static Model get_model(); 00040 00041 private: 00042 static Model _model; 00043 }; 00044 00045 } // namespace mbed 00046 00047 #endif // GEMALTO_CINTERION_MODULE_H_
Generated on Tue Aug 9 2022 00:37:08 by
1.7.2