Difference between revisions of "Pdmc"
From ESS-WIKI
Line 1: | Line 1: | ||
− | == Pelion Device Management Client Example == | + | == ARM Pelion == |
+ | |||
+ | === Pelion Device Management Client Example === | ||
<div style="margin-left:0.847cm;margin-right:0cm;"> | <div style="margin-left:0.847cm;margin-right:0cm;"> | ||
This example is demonstrate how to connect to Pelion Device Management. Please follow the below steps to give it a try. | This example is demonstrate how to connect to Pelion Device Management. Please follow the below steps to give it a try. | ||
Line 7: | Line 9: | ||
[[File:WISE-1570-FirstExample 01.png|center|500px|WISE-1570-FirstExample 01.png]] | [[File:WISE-1570-FirstExample 01.png|center|500px|WISE-1570-FirstExample 01.png]] | ||
+ | |||
:'''Step02:''' Prepare an Mbed account<br/> | :'''Step02:''' Prepare an Mbed account<br/> | ||
:Before a device connected to Pelion Device Management, the user need an Mbed account. please refer to the below link to sign up<br/> | :Before a device connected to Pelion Device Management, the user need an Mbed account. please refer to the below link to sign up<br/> | ||
− | ::*An Mbed account - [https://os.mbed.com/account/login/ "sign up if you don't have one."] | + | :: |
+ | *An Mbed account - [https://os.mbed.com/account/login/ "sign up if you don't have one."] | ||
::*Access to Pelion Device Management - [https://console.mbed.com/cloud-registration "request access here"] | ::*Access to Pelion Device Management - [https://console.mbed.com/cloud-registration "request access here"] | ||
+ | |||
Line 20: | Line 25: | ||
[[File:WISE-1570-FirstExample 02.png|center|700px|WISE-1570-FirstExample 02.png]] | [[File:WISE-1570-FirstExample 02.png|center|700px|WISE-1570-FirstExample 02.png]] | ||
− | |||
+ | |||
+ | |||
+ | :'''Step04:''' Access sensor data in Pelion Device Management Portal" | ||
+ | :: | ||
+ | *Open browser and go to [https://portal.mbedcloud.com/devices "Device Management Portal's Device Directory page."] | ||
+ | ::*Click the device ID to view all its information. | ||
+ | ::*Select the Resources tab to view the device's exposed LwM2M resources. Scroll down to locate the sensor temperature or humidity. | ||
</div> | </div> |
Revision as of 10:42, 10 April 2019
ARM Pelion
Pelion Device Management Client Example
This example is demonstrate how to connect to Pelion Device Management. Please follow the below steps to give it a try.
- Step01: Get source code and compile it by mbed CLI.
- Please click "Link to source" and review the file "README.md" to know how to deployment and compilation with this example. The output binary will be "source_dir/BUILD/WISE_1570/GCC_ARM/WISE-1570-Rf-Bridge.bin"
- Step02: Prepare an Mbed account
- Before a device connected to Pelion Device Management, the user need an Mbed account. please refer to the below link to sign up
- An Mbed account - "sign up if you don't have one."
- Access to Pelion Device Management - "request access here"
- Step03: Flash programming by WISE-ED22
- Check device connected from WISE-ED22 to PC using micro-USB cable and use drag-and-drop programming with your binary.
- Step04: Access sensor data in Pelion Device Management Portal"
- Open browser and go to "Device Management Portal's Device Directory page."
- Click the device ID to view all its information.
- Select the Resources tab to view the device's exposed LwM2M resources. Scroll down to locate the sensor temperature or humidity.