Skip to content

Commit c7f1534

Browse files
author
Teppo Järvelin
committed
Updated json configuration instructions in READ.me.
1 parent d2b05ba commit c7f1534

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

README.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,11 @@ $ cd mbed-os-example-cellular
2929
See the file `mbed_app.json` in the root directory of your application. This file contains all the user specific configurations your application needs. Provide the pin code for your SIM card, as well as any APN settings if needed. For example:
3030

3131
```json
32-
"sim-pin-code": {
33-
"help": "SIM PIN code, set to 0 if none",
34-
"value": "\"1234\""
35-
},
36-
"apn": {
37-
"help": "The APN string to use for this SIM/network, set to 0 if none",
38-
"value": "\"internet\""
39-
},
40-
"username": {
41-
"help": "The user name string to use for this APN, set to zero if none",
42-
"value": 0
43-
},
44-
"password": {
45-
"help": "The password string to use for this APN, set to 0 if none",
46-
"value": 0
47-
}
32+
"nsapi.default-cellular-plmn": 0,
33+
"nsapi.default-cellular-sim-pin": "\"1234\"",
34+
"nsapi.default-cellular-apn": 0,
35+
"nsapi.default-cellular-username": 0,
36+
"nsapi.default-cellular-password": 0
4837
```
4938

5039
### Selecting socket type (TCP or UDP)

0 commit comments

Comments
 (0)