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.
Diff: drivers/network/COMPONENT_WIFI_IDW04A1/mbed_lib.json
- Revision:
- 0:43ff9e3bc244
diff -r 000000000000 -r 43ff9e3bc244 drivers/network/COMPONENT_WIFI_IDW04A1/mbed_lib.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drivers/network/COMPONENT_WIFI_IDW04A1/mbed_lib.json Tue Mar 12 13:48:39 2019 +0800 @@ -0,0 +1,21 @@ +{ + "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 + } + } +}