You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/cellular/README.md
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,28 +28,31 @@ You can change cellular defaults in the `mbed_lib.json` configuration file.
28
28
## Debug traces
29
29
30
30
You can define the debug tracing level in the `mbed_app.json` configuration file:
31
-
32
-
"target_overrides": {
33
-
"*": {
34
-
"mbed-trace.enable": true,
35
-
"platform.stdio-convert-newlines": true,
36
-
"platform.stdio-baud-rate": 115200,
37
-
"platform.default-serial-baud-rate": 115200
38
-
}
39
-
},
40
-
"config": {
41
-
"trace-level": {
42
-
"help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG",
43
-
"macro_name": "MBED_TRACE_MAX_LEVEL",
44
-
"value": "TRACE_LEVEL_INFO"
45
-
}
31
+
```
32
+
"target_overrides": {
33
+
"*": {
34
+
"mbed-trace.enable": true,
35
+
"platform.stdio-convert-newlines": true,
36
+
"platform.stdio-baud-rate": 115200,
37
+
"platform.default-serial-baud-rate": 115200
38
+
}
39
+
},
40
+
"config": {
41
+
"trace-level": {
42
+
"help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG",
43
+
"macro_name": "MBED_TRACE_MAX_LEVEL",
44
+
"value": "TRACE_LEVEL_INFO"
46
45
}
46
+
}
47
+
```
47
48
48
49
## Greentea tests
49
50
50
51
The `TESTS` folder contains Greentea tests for cellular specific classes. You need to give relevant configuration file with `--app-config` parameter, such as:
51
52
52
-
mbed test -n features-cellular-tests-* --app-config features\cellular\TESTS\socket\udp\template_mbed_app.json.txt -v
53
+
```
54
+
mbed test -n features-cellular-tests-* --app-config features\cellular\TESTS\socket\udp\template_mbed_app.json.txt -v
55
+
```
53
56
54
57
**Note:** Greentea tests use SIM PIN, so you need to change that or your SIM card may get locked.
0 commit comments