Developer World
Spresense SDK Library
v3.3.0-375c679
lte_compat.h
1
/****************************************************************************
2
* modules/include/lte/lte_compat.h
3
*
4
* Copyright 2022 Sony Semiconductor Solutions Corporation
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions
8
* are met:
9
*
10
* 1. Redistributions of source code must retain the above copyright
11
* notice, this list of conditions and the following disclaimer.
12
* 2. Redistributions in binary form must reproduce the above copyright
13
* notice, this list of conditions and the following disclaimer in
14
* the documentation and/or other materials provided with the
15
* distribution.
16
* 3. Neither the name of Sony Semiconductor Solutions Corporation nor
17
* the names of its contributors may be used to endorse or promote
18
* products derived from this software without specific prior written
19
* permission.
20
*
21
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
* POSSIBILITY OF SUCH DAMAGE.
33
*
34
****************************************************************************/
35
36
#ifndef __MODULES_INCLUDE_LTE_LTE_COMPAT_H
37
#define __MODULES_INCLUDE_LTE_LTE_COMPAT_H
38
39
/* This header file is provided for applications that use the following
40
* deprecated definitions. Basically, the correct approach is to replace
41
* the parts of the application that use the deprecated definitions
42
* without using this header file.
43
*/
44
45
/****************************************************************************
46
* Included Files
47
****************************************************************************/
48
49
#include <
lte/lte_api.h
>
50
51
/****************************************************************************
52
* Pre-processor Definitions
53
****************************************************************************/
54
55
/* Internet protocol type: IPv4
56
* Use LTE_IPTYPE_V4 instead.
57
*/
58
59
#define LTE_APN_IPTYPE_IP LTE_IPTYPE_V4
60
61
/* Internet protocol type: IPv6
62
* Use LTE_IPTYPE_V6 instead.
63
*/
64
65
#define LTE_APN_IPTYPE_IPV6 LTE_IPTYPE_V6
66
67
/* Internet protocol type: IPv4/v6
68
* Use LTE_IPTYPE_V4V6 instead.
69
*/
70
71
#define LTE_APN_IPTYPE_IPV4V6 LTE_IPTYPE_V4V6
72
73
/* Enable setting of PIN lock
74
* Use LTE_ENABLE instead.
75
*/
76
77
#define LTE_PIN_ENABLE LTE_ENABLE
78
79
/* Disable setting of PIN lock
80
* Use LTE_DISABLE instead.
81
*/
82
83
#define LTE_PIN_DISABLE LTE_DISABLE
84
85
/* Digit number of mcc
86
* Use LTE_MCC_DIGIT instead.
87
*/
88
89
#define LTE_CELLINFO_MCC_DIGIT LTE_MCC_DIGIT
90
91
/* Max digit number of mnc
92
* Use LTE_MNC_DIGIT_MAX instead.
93
*/
94
95
#define LTE_CELLINFO_MNC_DIGIT_MAX LTE_MNC_DIGIT_MAX
96
97
/* Digit number of mcc
98
* Use LTE_MCC_DIGIT instead.
99
*/
100
101
#define LTE_SIMINFO_MCC_DIGIT LTE_MCC_DIGIT
102
103
/* Max digit number of mnc
104
* Use LTE_MNC_DIGIT_MAX instead.
105
*/
106
107
#define LTE_SIMINFO_MNC_DIGIT_MAX LTE_MNC_DIGIT_MAX
108
109
#endif
/* __MODULES_INCLUDE_LTE_LTE_COMPAT_H */
lte_api.h
spresense
sdk
modules
include
lte
lte_compat.h
Generated by
1.9.4