This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathu_cell_test_cfg.h
130 lines (112 loc) · 3.8 KB
/
u_cell_test_cfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
* Copyright 2019-2024 u-blox
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _U_CELL_TEST_CFG_H_
#define _U_CELL_TEST_CFG_H_
/* Only header files representing a direct and unavoidable
* dependency between the API of this module and the API
* of another module should be included here; otherwise
* please keep #includes to your .c files. */
/** @file
* @brief This header file defines configuration values for cellular
* API testing.
*/
/* ----------------------------------------------------------------
* COMPILE-TIME MACROS
* -------------------------------------------------------------- */
#ifndef U_CELL_TEST_CFG_CONNECT_TIMEOUT_SECONDS
/** The time in seconds allowed for a connection to complete.
*/
# define U_CELL_TEST_CFG_CONNECT_TIMEOUT_SECONDS 240
#endif
#ifndef U_CELL_TEST_CFG_CONTEXT_ACTIVATION_TIMEOUT_SECONDS
/** The time in seconds allowed for context activation complete.
*/
# define U_CELL_TEST_CFG_CONTEXT_ACTIVATION_TIMEOUT_SECONDS 60
#endif
#ifndef U_CELL_TEST_CFG_SIM_PIN
/** The PIN to use during cellular testing.
*/
# define U_CELL_TEST_CFG_SIM_PIN NULL
#endif
#ifndef U_CELL_TEST_CFG_APN
/** The APN to use during cellular testing:
* either pass this in as an environment variable
* or set the value below (without quotes) and
* uncomment the line
*/
//# define U_CELL_TEST_CFG_APN myapn
#endif
#ifndef U_CELL_TEST_CFG_EUTRAN_APN
/** The test box that we use at u-blox for testing
* cat-M1/NB1 does not allow registration without
* an APN being supplied, and this is it. Must be
* WITHOUT quotes.
*/
# define U_CELL_TEST_CFG_EUTRAN_APN internet
#endif
#ifndef U_CELL_TEST_CFG_USERNAME
/** The user name to use during cellular testing:
* either pass this in as an environment variable
* or set the value below (without quotes) and
* uncomment the line
*/
//# define U_CELL_TEST_CFG_USERNAME myusername
#endif
#ifndef U_CELL_TEST_CFG_PASSWORD
/** The password to use during cellular testing:
* either pass this in as an environment variable
* or set the value below (without quotes) and
* uncomment the line
*/
//# define U_CELL_TEST_CFG_PASSWORD mypassword
#endif
#ifndef U_CELL_TEST_CFG_MNO_PROFILE
/** The MNO profile to use during testing:
* Europe (100). Would use global (90) but SARA-R4
* doesn't support it.
*/
# define U_CELL_TEST_CFG_MNO_PROFILE 100
#endif
#ifndef U_CELL_TEST_CFG_BANDMASK1
/** Set this to 0 and the bandmask will not be touched
* by the test code for normal operation. When running
* on the test system it needs to be set to 0x000010
* (band 5) so that we find the Nutaq test box and not the
* live network however it is the u_data.py automation
* script that does this implicitly; must be different from
* U_CELL_TEST_CFG_ALT_BANDMASK1.
*/
# define U_CELL_TEST_CFG_BANDMASK1 0ULL
#endif
#ifndef U_CELL_TEST_CFG_BANDMASK2
/** The bandmask 2 to use during testing.
*/
# define U_CELL_TEST_CFG_BANDMASK2 0ULL
#endif
#ifndef U_CELL_TEST_CFG_ALT_BANDMASK1
/** The alternative bandmask 1 to use during testing.
* 0x080092 is bands 2, 5, 8 and 20. Must be different
* from U_CELL_TEST_CFG_BANDMASK1.
*/
# define U_CELL_TEST_CFG_ALT_BANDMASK1 0x080092ULL
#endif
#ifndef U_CELL_TEST_CFG_ALT_BANDMASK2
/** The alternative bandmask 2 to use during testing.
*/
# define U_CELL_TEST_CFG_ALT_BANDMASK2 0ULL
#endif
#endif // _U_CELL_TEST_CFG_H_
// End of file