Generic Pelion Device Management example for various Advantech modules.

This example is known to work great on the following platforms:

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_app_idw04a1.json

Committer:
chuanga
Date:
2019-03-12
Revision:
0:43ff9e3bc244

File content as of revision 0:43ff9e3bc244:

{
    "target_overrides": {
        "*": {
            "idw0xx1.expansion-board": "IDW04A1",
	    "drivers.uart-serial-txbuf-size": 512,
	    "drivers.uart-serial-rxbuf-size": 512,
            "idw0xx1.tx": "D8",
            "idw0xx1.rx": "D2"
        }
    },
    "macros": ["IDW04A1_WIFI_HW_BUG_WA"]
}