README.md
1# DeviceManager
2
3
4
5### Introduction
6
7This 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.
8
9### Usage
10
111. 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.
12
132. Touch a device in the **discover** state to trigger authentication. After the authentication is complete, the page is automatically refreshed.
14
153. Subscribe to device status changes. When the device status changes, the page is automatically refreshed.
16
17### Constraints
18
191. This sample requires a networking test.
20
212. This sample can only be run on standard-system devices.
22