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@0:43ff9e3bc244, 2019-03-12 (annotated)
- Committer:
- chuanga
- Date:
- Tue Mar 12 13:48:39 2019 +0800
- Revision:
- 0:43ff9e3bc244
copying sources from github repository
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| chuanga | 0:43ff9e3bc244 | 1 | { |
| chuanga | 0:43ff9e3bc244 | 2 | "name": "idw0xx1", |
| chuanga | 0:43ff9e3bc244 | 3 | "config": { |
| chuanga | 0:43ff9e3bc244 | 4 | "expansion-board":{ |
| chuanga | 0:43ff9e3bc244 | 5 | "help": "Options are IDW01M1 and IDW04A1", |
| chuanga | 0:43ff9e3bc244 | 6 | "value": "IDW01M1" |
| chuanga | 0:43ff9e3bc244 | 7 | }, |
| chuanga | 0:43ff9e3bc244 | 8 | "tx":{ |
| chuanga | 0:43ff9e3bc244 | 9 | "help": "TX pin for serial connection to external device", |
| chuanga | 0:43ff9e3bc244 | 10 | "value": "NC" |
| chuanga | 0:43ff9e3bc244 | 11 | }, |
| chuanga | 0:43ff9e3bc244 | 12 | "rx":{ |
| chuanga | 0:43ff9e3bc244 | 13 | "help": "RX pin for serial connection to external device", |
| chuanga | 0:43ff9e3bc244 | 14 | "value": "NC" |
| chuanga | 0:43ff9e3bc244 | 15 | }, |
| chuanga | 0:43ff9e3bc244 | 16 | "provide-default": { |
| chuanga | 0:43ff9e3bc244 | 17 | "help": "Provide default WifiInterface. [true/false]", |
| chuanga | 0:43ff9e3bc244 | 18 | "value": false |
| chuanga | 0:43ff9e3bc244 | 19 | } |
| chuanga | 0:43ff9e3bc244 | 20 | } |
| chuanga | 0:43ff9e3bc244 | 21 | } |