Obtaining a List of Installed Devices

Obtaining a List of Installed Devices

For various operations, you may need to find an allocated device handle or a description of a device interface

In IAP/MQ

Device Details

From the console, you can find details about the installed devices, including their handles, using the following: 

mosquitto_sub -v -t glp/0/+/fb/dev/lon/+/sts

Device Interface Details

From the console, you can find details about a device's interface using the following:

mosquitto_sub -v -t glp/0/+/fb/dev/lon/{Handle}/if/#

In IAP/REST

Device Details

You can find details on the installed devices, including their handles, using the following:

GET

/iap/devs

Device Interface Details

You can find details about a device's interface using the following:

GET

/iap/devs/{Handle}/if/*/*/*/*

or 

GET

/iap/devs/{Handle}/if/*/*/*/cat