Some checks failed
Basic Checks / license-check (push) Has been cancelled
Basic Checks / include-check (push) Has been cancelled
Basic Checks / style-check (push) Has been cancelled
Basic Checks / docs-check (push) Has been cancelled
Basic Checks / python-tests (push) Has been cancelled
Basic Checks / pin-validation (push) Has been cancelled
Basic Checks / cmake-checks (push) Has been cancelled
Basic Checks / frozen-tools-check (push) Has been cancelled
Publish or Update docker image for head of branch / prepare-tags (push) Has been cancelled
Release or update docker image for a released mbed-os version / prepare-tags (push) Has been cancelled
Publish or Update docker image for head of branch / build-container (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/amd64) (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/arm64) (push) Has been cancelled
Publish or Update docker image for head of branch / deploy-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / build-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/amd64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/arm64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / deploy-container (push) Has been cancelled
Prune temporary docker images / prune-images (push) Has been cancelled
65 lines
1.9 KiB
Markdown
65 lines
1.9 KiB
Markdown
# Mbed cellular connectivity
|
|
|
|
This is the Github repo for Mbed cellular connectivity:
|
|
|
|
framework/
|
|
API Application Programming Interface for cellular connectivity
|
|
AT AT implementation based on 3GPP TS 27.007 specification
|
|
common Common and utility sources
|
|
device Implementation of cellular device and state machine
|
|
targets Vendor specific cellular module adaptations
|
|
|
|
**Note:** Application developers should use only the `API` folder.
|
|
|
|
## Known limitations
|
|
|
|
**Please note that this is a first release of Cellular framework and is subject to further development in future.**
|
|
|
|
## Supported modules
|
|
|
|
You can find currently supported cellular modules in the `framework/targets/` folder, where we also add support for new cellular modules.
|
|
|
|
## Cellular configuration
|
|
|
|
You can change cellular defaults in the `mbed_lib.json` configuration file.
|
|
|
|
## Debug traces
|
|
|
|
You can define the debug tracing level in the `mbed_app.json` configuration file:
|
|
|
|
```
|
|
"target_overrides": {
|
|
"*": {
|
|
"mbed-trace.enable": true,
|
|
"platform.stdio-convert-newlines": true,
|
|
"platform.stdio-baud-rate": 115200,
|
|
"platform.default-serial-baud-rate": 115200
|
|
}
|
|
},
|
|
"config": {
|
|
"trace-level": {
|
|
"help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG",
|
|
"macro_name": "MBED_TRACE_MAX_LEVEL",
|
|
"value": "TRACE_LEVEL_INFO"
|
|
}
|
|
}
|
|
```
|
|
|
|
## Greentea tests
|
|
|
|
Cellular connectivity can be tested with generic Mbed OS netsocket and network interface tests found in Mbed OS root `TESTS` directory. For more information, see `TESTS/netsocket/README.md` and `TESTS/network/interface/README.md`.
|
|
|
|
## Unit tests
|
|
|
|
Cellular unit tests are in Mbed OS root `UNITTESTS/connectivity/cellular`.
|
|
|
|
## Dependency with netsocket
|
|
|
|
If you create a .mbedignore file with
|
|
```
|
|
connectivity/cellular*
|
|
connectivity/drivers/cellular*
|
|
```
|
|
|
|
MBED_CONF_CELLULAR_PRESENT will not be set
|