Difference between revisions of "IoTGW/SDK/SampleCodeUseCase"

From ESS-WIKI
Jump to: navigation, search
(Get the IoTGW's capabilities (resources))
(Get all of IoTGW network interfaces' value)
Line 5: Line 5:
  
 
=Get all of IoTGW network interfaces' value=
 
=Get all of IoTGW network interfaces' value=
 +
Call the SN_Manager_GetData and pass "IoTGW" to pszInURI.
 +
Description: Get all latest data of IoTGW's network interfaces.
 +
Select "1" and type "IoTGW" then Enter:
 +
[[File:Sample WSN SDK 2.jpg|600x1000px]]
  
 
=Get the Health status of the WSN network interface=
 
=Get the Health status of the WSN network interface=
  
 
=Get which SenHubs are connecting to the IoTGW?=
 
=Get which SenHubs are connecting to the IoTGW?=

Revision as of 08:15, 25 February 2016

Get the IoTGW's capabilities (resources)

Call the SN_Manager_GetCapability to get capability of IoT gateway network interface in JSON format.
Input "1" and Enter:
Sample WSN SDK 1.jpg

Get all of IoTGW network interfaces' value

Call the SN_Manager_GetData and pass "IoTGW" to pszInURI.
Description: Get all latest data of IoTGW's network interfaces.
Select "1" and type "IoTGW" then Enter:
Sample WSN SDK 2.jpg

Get the Health status of the WSN network interface

Get which SenHubs are connecting to the IoTGW?