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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
APN_db.h
00001 /* mbed Microcontroller Library 00002 * Copyright (c) 2017 ublox, ARM Limited 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may 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, 00012 * WITHOUT 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 /* ---------------------------------------------------------------- 00018 APN stands for Access Point Name, a setting on your modem or phone 00019 that identifies an external network your phone can access for data 00020 (e.g. 3G or 4G Internet service on your phone). 00021 00022 The APN settings can be forced when calling the join function. 00023 Below is a list of known APNs that us used if no apn config 00024 is forced. This list could be extended by other settings. 00025 00026 For further reading: 00027 wiki apn: http://en.wikipedia.org/wiki/Access_Point_Name 00028 wiki mcc/mnc: http://en.wikipedia.org/wiki/Mobile_country_code 00029 google: https://www.google.de/search?q=APN+list 00030 ---------------------------------------------------------------- */ 00031 #ifndef APN_DB_H_ 00032 #define APN_DB_H_ 00033 00034 #include <string.h> 00035 00036 /** 00037 * Helper to extract a field from the cfg string 00038 */ 00039 #define _APN_GET(cfg) \ 00040 *cfg ? cfg : NULL; \ 00041 cfg += strlen(cfg) + 1 00042 00043 /** 00044 * Configuring APN by extraction from IMSI and matching the table. 00045 * 00046 * @param imsi string containing IMSI 00047 */ 00048 const char *apnconfig(const char *imsi); 00049 00050 #endif // #define APN_DB_H_
Generated on Tue Jul 12 2022 13:54:01 by
