Skip to content

standard non-blocking NetworkInterface::connect #6496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Apr 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1661fc2
Modified state machine, added cellular state and callback.
Mar 6, 2018
83ea9be
temp commit while changing work...
Mar 8, 2018
c26311b
async works. Retry logic needs refining.
Mar 9, 2018
702efc1
Temp commit, not compiling...
Mar 13, 2018
2b14a9e
temp
Mar 13, 2018
d1f2e91
Working version of async registration.
Mar 14, 2018
231458d
Picked Ari's changed to reduce stack size. Removed device info printi…
Mar 15, 2018
b400d18
Wait for modem ready signal in startup sequence.
Mar 16, 2018
f0026e4
review fixed and some minor improvements.
Mar 16, 2018
8984324
Separated context activation from connect, increased stack size to 20…
Mar 20, 2018
f6be35c
Fixed coverity warnings for AT_CellularSMS.cpp
Mar 20, 2018
0ebfa35
Fixed coverity warnings for class CellularConnectionFSM
Mar 20, 2018
af0de8e
Fixed coverity warnings for class AT_CellularDevice.
Mar 20, 2018
12b0bc4
Fixed coverity warnings for AT_CellularStack.
Mar 20, 2018
fa61f09
Fixed coverity warning for class CellularUtil.
Mar 20, 2018
54ab974
Fixed coverity warnings for targets folder. Also fixed one bug while …
Mar 21, 2018
84b445f
Fixed coverity warnings for class ATHandler and removed unnecessary a…
Mar 21, 2018
6072407
Cellular: async FSM updates
Mar 23, 2018
af2890d
Improved registration phase in state machine.
Mar 26, 2018
f6a0403
Fixed build by removing unnecessary include.
Mar 27, 2018
ea9869e
Cellular: Greentea tests for UDP socket
Mar 27, 2018
6f3eebc
Fixed possible crash and removed trace from greentea.
Mar 27, 2018
ac9b882
Fixed bug in state machine registaring phase.
Mar 27, 2018
d7cabe2
Cellular Greentea tests fixed
Mar 27, 2018
8c019e6
Cellular: Remove excessive destructor declaration to fix compile error
Mar 27, 2018
c82fd31
Removed double attach from EasyCellularConnection.
Mar 28, 2018
dcdb7a5
Fixed state machine to accept roaming as valid registration.
Mar 28, 2018
d828959
Cellular: Greentea test timeouts increased
Mar 28, 2018
c036b66
Doxygen fixes for copy-paste errors.
Mar 28, 2018
9531bbe
BC95 fixes
Mar 28, 2018
3142853
Fixed missing doxygen param.
Mar 29, 2018
12e1f07
modified at timeout while doing attach and connect as it might take u…
Mar 29, 2018
f7f21dc
Cellular: review fixes and fixed unit tests.
Apr 4, 2018
b3226ac
Cellular: Fixed rebase error.
Apr 6, 2018
9c185d9
Cellular: Fixing to skip greentea test if sim pin is not configured.
Apr 9, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion features/cellular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ This is the Github repo for Mbed cellular connectivity:
common Common and utility sources
targets Vendor specific cellular module adaptations

TESTS Cellular Greentea test

UNITTESTS Cellular unit test

## Known limitations

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

## Cellular configuration

You can change cellular defaults in the `mbed_app.json` configuration file:
You can change cellular defaults in the `mbed_lib.json` configuration file.

You can also override cellular defaults in the `mbed_app.json` configuration file:

"config": {
"cellular_plmn": {
Expand Down Expand Up @@ -62,6 +68,14 @@ You can define the debug tracing level in the `mbed_app.json` configuration file
}
}

## Greentea tests

The `TESTS` folder contains Greentea tests for cellular specific classes. You need to give relevant configuration file with `--app-config` parameter, e.g.:

mbed test -n features-cellular-tests-* --app-config features\cellular\TESTS\socket\udp\template_mbed_app.json -vv

Note that Greentea tests use SIM PIN so you need to change that or your SIM card may get locked.

## Unit tests

The `UNITTESTS` folder contains unit tests for cellular specific classes. Unit tests are based on the stubbing method.
Expand Down
82 changes: 0 additions & 82 deletions features/cellular/TESTS/cellular/cellular_all/CellularTests.h

This file was deleted.

107 changes: 0 additions & 107 deletions features/cellular/TESTS/cellular/cellular_all/main.cpp

This file was deleted.

104 changes: 0 additions & 104 deletions features/cellular/TESTS/cellular/cellular_all/network.cpp

This file was deleted.

52 changes: 0 additions & 52 deletions features/cellular/TESTS/cellular/cellular_all/power.cpp

This file was deleted.

Loading