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.
drivers/network/COMPONENT_WIFI_IDW04A1/mbed_lib.json
- Committer:
- chuanga
- Date:
- 2019-03-12
- Revision:
- 0:43ff9e3bc244
File content as of revision 0:43ff9e3bc244:
{ "name": "idw0xx1", "config": { "expansion-board":{ "help": "Options are IDW01M1 and IDW04A1", "value": "IDW01M1" }, "tx":{ "help": "TX pin for serial connection to external device", "value": "NC" }, "rx":{ "help": "RX pin for serial connection to external device", "value": "NC" }, "provide-default": { "help": "Provide default WifiInterface. [true/false]", "value": false } } }