16e7c69efSopenharmony_ci# DeviceManager 26e7c69efSopenharmony_ci 36e7c69efSopenharmony_ci 46e7c69efSopenharmony_ci 56e7c69efSopenharmony_ci### Introduction 66e7c69efSopenharmony_ci 76e7c69efSopenharmony_ciThis 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. 86e7c69efSopenharmony_ci 96e7c69efSopenharmony_ci### Usage 106e7c69efSopenharmony_ci 116e7c69efSopenharmony_ci1. 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. 126e7c69efSopenharmony_ci 136e7c69efSopenharmony_ci2. Touch a device in the **discover** state to trigger authentication. After the authentication is complete, the page is automatically refreshed. 146e7c69efSopenharmony_ci 156e7c69efSopenharmony_ci3. Subscribe to device status changes. When the device status changes, the page is automatically refreshed. 166e7c69efSopenharmony_ci 176e7c69efSopenharmony_ci### Constraints 186e7c69efSopenharmony_ci 196e7c69efSopenharmony_ci1. This sample requires a networking test. 206e7c69efSopenharmony_ci 216e7c69efSopenharmony_ci2. This sample can only be run on standard-system devices. 22