Generic Pelion Device Management example for various Advantech modules.
This example is known to work great on the following platforms:
- WISE-1530 WiFi Module using DB-1505 carrier board and external SD card reader.
Example Functionality
This example showcases the following device functionality:
- On timer button increment, simulate Pelion LWM2M button resource change
Use this example with Mbed CLI
1. Import the application into your desktop:
mbed import https://os.mbed.com/teams/Advantech/code/pelion-example-common cd pelion-example-common
2. Download your developer certificate from pelion portal
3. Compile the program
mbed compile -t <toolchain> -m <TARGET_BOARD>
(supported toolchains : GCC_ARM / ARM / IAR)
4. Copy the binary file pelion-example-common.bin to your mbed device.
Files at revision 0:43ff9e3bc244
Name | Size | Actions |
---|---|---|
[up] | ||
bootloader | ||
drivers | ||
targets | ||
LICENSE.txt | 9115 | Revisions Annotate |
README.md | 6295 | Revisions Annotate |
main.cpp | 7294 | Revisions Annotate |
mbed-os.lib | 77 | Revisions Annotate |
mbed_app.json | 7554 | Revisions Annotate |
mbed_cloud_dev_credentials.c | 2062 | Revisions Annotate |
mbed_settings.py | 1339 | Revisions Annotate |
mbed_settings.pyc | 831 | Revisions Annotate |
simple-mbed-cloud-client.lib | 94 | Revisions Annotate |
update_default_resources.c | 1531 | Revisions Annotate |