Difference between revisions of "Pdmc"

From ESS-WIKI
Jump to: navigation, search
Line 5: Line 5:
 
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.
  
:'''Step01:''' Get source code and compile it by mbed CLI.<br/>
+
:'''Step01:''' Prepare an Mbed account<br/>
:Please click [https://github.com/ADVANTECH-Corp/WISE-1570-Rf-Bridge "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"<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."]
 +
 
 +
::
 +
*Access to Pelion Device Management - [https://console.mbed.com/cloud-registration "request access here"]
 +
 
 +
 
 +
 
 +
:'''Step02:''' Create developer certificate.<br/>
 +
::Please click [https://portal.mbedcloud.com/identity/certificates "link to create certificate"] and follow the below steps to create a new one.
 +
 
 +
::
 +
*Click the "New certificate"
 +
 
 +
[[File:Wise1570 pdmc 07.png|center|Wise1570 pdmc 07.png]]
 +
 
 +
::
 +
*Click the "Create a developer certificate" in pop-up window
 +
 
 +
[[File:Wise1570 pdmc 08.png|center|Wise1570 pdmc 08.png]]
 +
 
 +
::
 +
*Give a name of your certificate
 +
 
 +
[[File:Wise1570 pdmc 09.png|center|Wise1570 pdmc 09.png]]
 +
 
 +
::
 +
*Click the "Download Developer C file" to download the certificate
  
[[File:WISE-1570-FirstExample 01.png|center|500px|WISE-1570-FirstExample 01.png]]
+
[[File:Wise1570 pdmc 10.png|center|Wise1570 pdmc 10.png]]
  
 +
::
 +
*Replace the file to your source tree before the process of build the binary in Step03
  
  
:'''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/>
 
  
::* An Mbed account - [https://os.mbed.com/account/login/ "sign up if you don't have one."]
+
:'''Step03:''' Get source code and compile it by mbed CLI.<br/>
 +
:Please click [https://github.com/ADVANTECH-Corp/WISE-1570-Rf-Bridge "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"<br/>
  
::* Access to Pelion Device Management - [https://console.mbed.com/cloud-registration "request access here"]
+
[[File:WISE-1570-FirstExample 01.png|center|500px|WISE-1570-FirstExample 01.png]]
  
  
  
:'''Step03:''' Flash programming by WISE-ED22<br/>
+
:'''Step04:''' Flash programming by WISE-ED22<br/>
 
:Check device connected from WISE-ED22 to PC using micro-USB cable and use drag-and-drop programming with your binary.<br/>
 
:Check device connected from WISE-ED22 to PC using micro-USB cable and use drag-and-drop programming with your binary.<br/>
  
Line 28: Line 58:
  
  
:'''Step04:''' Access sensor data in Pelion Device Management Portal"
+
:'''Step05:''' 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."]. The user will see the list of devices.
+
::
 +
*Open browser and go to [https://portal.mbedcloud.com/devices "Device Management Portal's Device Directory page."]. The user will see the list of devices.
  
 
[[File:Wise1570 pdmc 02.png|center|900px|Wise1570 pdmc 02.png]]
 
[[File:Wise1570 pdmc 02.png|center|900px|Wise1570 pdmc 02.png]]
Line 35: Line 66:
  
  
::* Click the device ID and select the "RESOURCE" tab to view the device's exposed LwM2M resources.
+
::
 +
*Click the device ID and select the "RESOURCE" tab to view the device's exposed LwM2M resources.
  
 
[[File:Wise1570 pdmc 03.png|center|900px|Wise1570 pdmc 03.png]]
 
[[File:Wise1570 pdmc 03.png|center|900px|Wise1570 pdmc 03.png]]
Line 41: Line 73:
  
  
::* Scroll down to locate the resource temperature or humidity.
+
::
 +
*Scroll down to locate the resource temperature or humidity.
  
 
[[File:Wise1570 pdmc 04.png|center|900px|Wise1570 pdmc 04.png]]
 
[[File:Wise1570 pdmc 04.png|center|900px|Wise1570 pdmc 04.png]]
Line 47: Line 80:
  
  
::* Click "temperature - Sensor Value" or "humidity - Sensor Value" to open the graph and observe the sensor's data changed.
+
::
 +
*Click "temperature - Sensor Value" or "humidity - Sensor Value" to open the graph and observe the sensor's data changed.
  
 
[[File:Wise1570 pdmc 05.png|center|800px|Wise1570 pdmc 05.png]]
 
[[File:Wise1570 pdmc 05.png|center|800px|Wise1570 pdmc 05.png]]
  
  
</div>
+
</div>[[Category:Pages with broken file links]]

Revision as of 10:59, 12 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: 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


Step02: Create developer certificate.
Please click "link to create certificate" and follow the below steps to create a new one.
  • Click the "New certificate"
Wise1570 pdmc 07.png
  • Click the "Create a developer certificate" in pop-up window
Wise1570 pdmc 08.png
  • Give a name of your certificate
Wise1570 pdmc 09.png
  • Click the "Download Developer C file" to download the certificate
Wise1570 pdmc 10.png
  • Replace the file to your source tree before the process of build the binary in Step03


Step03: 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"
WISE-1570-FirstExample 01.png


Step04: 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.
WISE-1570-FirstExample 02.png


Step05: Access sensor data in Pelion Device Management Portal"
Wise1570 pdmc 02.png


  • Click the device ID and select the "RESOURCE" tab to view the device's exposed LwM2M resources.
Wise1570 pdmc 03.png


  • Scroll down to locate the resource temperature or humidity.
Wise1570 pdmc 04.png


  • Click "temperature - Sensor Value" or "humidity - Sensor Value" to open the graph and observe the sensor's data changed.
Wise1570 pdmc 05.png