Skip to content

Commit a463b07

Browse files
authored
Merge pull request #6496 from jarvte/async_cellular
standard non-blocking NetworkInterface::connect
2 parents 3bc2d2e + 9c185d9 commit a463b07

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1324
-1217
lines changed

features/cellular/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ This is the Github repo for Mbed cellular connectivity:
1212
common Common and utility sources
1313
targets Vendor specific cellular module adaptations
1414

15+
TESTS Cellular Greentea test
16+
17+
UNITTESTS Cellular unit test
18+
1519
## Known limitations
1620

1721
**Please note that this is a first release of Cellular framework and is subject to further development in future.**
@@ -24,7 +28,9 @@ You can find currently supported cellular modules in the `framework/targets/` fo
2428

2529
## Cellular configuration
2630

27-
You can change cellular defaults in the `mbed_app.json` configuration file:
31+
You can change cellular defaults in the `mbed_lib.json` configuration file.
32+
33+
You can also override cellular defaults in the `mbed_app.json` configuration file:
2834

2935
"config": {
3036
"cellular_plmn": {
@@ -62,6 +68,14 @@ You can define the debug tracing level in the `mbed_app.json` configuration file
6268
}
6369
}
6470

71+
## Greentea tests
72+
73+
The `TESTS` folder contains Greentea tests for cellular specific classes. You need to give relevant configuration file with `--app-config` parameter, e.g.:
74+
75+
mbed test -n features-cellular-tests-* --app-config features\cellular\TESTS\socket\udp\template_mbed_app.json -vv
76+
77+
Note that Greentea tests use SIM PIN so you need to change that or your SIM card may get locked.
78+
6579
## Unit tests
6680

6781
The `UNITTESTS` folder contains unit tests for cellular specific classes. Unit tests are based on the stubbing method.

features/cellular/TESTS/cellular/cellular_all/CellularTests.h

Lines changed: 0 additions & 82 deletions
This file was deleted.

features/cellular/TESTS/cellular/cellular_all/main.cpp

Lines changed: 0 additions & 107 deletions
This file was deleted.

features/cellular/TESTS/cellular/cellular_all/network.cpp

Lines changed: 0 additions & 104 deletions
This file was deleted.

features/cellular/TESTS/cellular/cellular_all/power.cpp

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)