DeviceManager
Introduction
This sample shows the use of the DeviceManager API in eTS, including obtaining the trusted device list, scanning for devices, authenticating devices, and subscribing to device status changes.
Usage
-
The sample app automatically obtains the trusted devices and displays them in the online state on the device list. It also scans for devices and displays the discovered devices in the discover state on the device list.
-
Touch a device in the discover state to trigger authentication. After the authentication is complete, the page is automatically refreshed.
-
Subscribe to device status changes. When the device status changes, the page is automatically refreshed.
Constraints
-
This sample requires a networking test.
-
This sample can only be run on standard-system devices.