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: README.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,13 +61,10 @@ You can choose which socket type the application should use; however, please not
61
61
62
62
### Turning modem AT echo trace on
63
63
64
-
If you like details and wish to know about all the AT interactions between the modem and your driver, turn on the modem AT echo trace. Set the `modem_trace` field value to be true.
64
+
If you like details and wish to know about all the AT interactions between the modem and your driver, turn on the modem AT echo trace.
65
65
66
66
```json
67
-
"modem_trace": {
68
-
"help": "Turns AT command trace on/off from the cellular modem, defaults to off",
69
-
"value": true
70
-
},
67
+
"cellular.debug-at": true
71
68
```
72
69
73
70
### Turning on the tracing and trace level
@@ -76,8 +73,8 @@ If you like to add more traces or follow the current ones you can turn traces on
76
73
77
74
```"target_overrides": {
78
75
"*": {
79
-
"target.features_add": ["LWIP", "COMMON_PAL"],
80
-
"mbed-trace.enable": false,
76
+
"target.features_add": ["LWIP"],
77
+
"mbed-trace.enable": true,
81
78
```
82
79
83
80
After you have defined `mbed-trace.enable: true`, you can set trace levels by changing value in `trace-level`
@@ -126,4 +123,12 @@ Success. Exiting
126
123
127
124
## Troubleshooting
128
125
129
-
If you have problems, you can review the [documentation](https://os.mbed.com/docs/latest/tutorials/debugging.html) for suggestions on what could be wrong and how to fix it.
126
+
* Make sure the fields `sim-pin-code`, `apn`, `username` and `password` from the `mbed_app.json` file are filled in correctly. The correct values should appear in the user manual of the board if using eSIM or in the details of the SIM card if using normal SIM.
127
+
* Enable trace flag to have access to debug information `"mbed-trace.enable": true`.
128
+
* Try both `TCP` and `UDP` socket types.
129
+
* Try both `"lwip.ppp-enabled": true` and `"lwip.ppp-enabled": false`.
130
+
* The modem may support only a fixed baud-rate, such as `"platform.default-serial-baud-rate": 9600`.
131
+
* The modem and network may only support IPv6 in which case `"lwip.ipv6-enabled": true` shall be defined.
132
+
* The SIM and modem must have compatible cellular technology (3G, 4G, NB-IoT, ...) supported and cellular network available.
133
+
134
+
If you have problems to get started with debugging, you can review the [documentation](https://os.mbed.com/docs/latest/tutorials/debugging.html) for suggestions on what could be wrong and how to fix it.
0 commit comments