Skip to content

Commit dc72c9b

Browse files
committed
STMOD_CELLULAR: Read me update to describe test procedure
1 parent a7fced3 commit dc72c9b

File tree

1 file changed

+61
-2
lines changed
  • components/cellular/COMPONENT_STMOD_CELLULAR

1 file changed

+61
-2
lines changed

components/cellular/COMPONENT_STMOD_CELLULAR/README.md

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,69 @@ This library allows enabling the cellular module that is connected to the STMOD+
44

55
## Supported modems.
66

7-
Currently supported cellular modules are Quectel UG96 and BG96 expansion boards that are included in [p-l496g-cell01] (https://www.st.com/en/evaluation-tools/p-l496g-cell01.html) and [p-l496g-cell02.] (https://www.st.com/en/evaluation-tools/p-l496g-cell02.html) packs.
7+
Currently supported cellular modules are Quectel UG96 and BG96 expansion boards that are included in [p-l496g-cell01](https://www.st.com/en/evaluation-tools/p-l496g-cell01.html)
8+
and [p-l496g-cell02](https://www.st.com/en/evaluation-tools/p-l496g-cell02.html) packs.
89

910
## Specifications
1011

11-
The STMOD+ Connector specification can be found [here] (https://www.st.com/content/ccc/resource/technical/document/technical_note/group0/04/7f/90/c1/ad/54/46/1f/DM00323609/files/DM00323609.pdf/jcr:content/translations/en.DM00323609.pdf).
12+
The STMOD+ Connector specification can be found [here](https://www.st.com/content/ccc/resource/technical/document/technical_note/group0/04/7f/90/c1/ad/54/46/1f/DM00323609/files/DM00323609.pdf/jcr:content/translations/en.DM00323609.pdf).
1213

14+
## Cellular tests in mbed-os
1315

16+
- features-cellular-tests-api-cellular_device
17+
- features-cellular-tests-api-cellular_information
18+
- features-cellular-tests-api-cellular_network
19+
- features-cellular-tests-api-cellular_sms
20+
- features-cellular-tests-socket-udp
21+
22+
Here is the used mbed_app.json:
23+
24+
````
25+
{
26+
"config": {
27+
"cellular-sim-pin" : {
28+
"help": "PIN code",
29+
"value": "\"1234\""
30+
},
31+
"apn": {
32+
"help": "The APN string to use for this SIM/network, set to 0 if none",
33+
"value": "\"APN\""
34+
},
35+
"username": {
36+
"help": "The user name string to use for this APN, set to zero if none",
37+
"value": 0
38+
},
39+
"password": {
40+
"help": "The password string to use for this APN, set to 0 if none",
41+
"value": 0
42+
}
43+
},
44+
"target_overrides": {
45+
"DISCO_L496AG": {
46+
"target.macros_add": ["CELLULAR_DEVICE=STModCellular"],
47+
"target.components_add": ["STMOD_CELLULAR"],
48+
"stmod_cellular.provide-default": "true"
49+
}
50+
}
51+
}
52+
````
53+
54+
55+
````
56+
$ mbed test -t ARM -m DISCO_L496AG -v -n features-cellular-*
57+
````
58+
59+
## Cellular mbed-os example
60+
61+
https://github.com/ARMmbed/mbed-os-example-cellular
62+
63+
````
64+
mbed import mbed-os-example-cellular
65+
cd mbed-os-example-cellular
66+
67+
<edit mbed_app.json file as explained in the example: APN, PIN,... >
68+
69+
mbed compile -t GCC_ARM -m DISCO_L496AG --flash
70+
````
71+
72+
Then check the serial console (serial baudrate set to 115200 bit/s)

0 commit comments

Comments
 (0)