# Misc Device - [Introduction](#section11660541593) - [Directory Structure](#section44981327519) - [Constraints](#section98068674513) - [Usage](#section1581412211528) - [Available APIs](#section15684191115524) - [How to Use](#section79302049192310) - [Repositories Involved](#section96071132185310) ## Introduction Misc devices, including vibrators and LED indicators, are used to send signals externally. You can call APIs to control the vibration of vibrators and lighting-on and lighting-off of LED indicators. **Figure 1** Misc device architecture  ## Directory Structure ``` /base/sensors/miscdevice ├── frameworks # Framework code │ └── native # Native methods for the client to connect to services ├── interfaces # External APIs │ ├── native # Native implementation │ └── plugin # JS APIs ├── sa_profile # Configuration file of system ability names and dynamic libraries ├── services # Code of services │ └── miscdevice_service # Misc device service, which is used to control the vibration of vibrators and lighting-on and lighting-off of LED lights └── utils # Common code, including permissions and communication capabilities ``` ## Constraints - The APIs are valid only when your hardware is equipped with the required misc devices. - To use vibrators, you need to request the required permissions. **Table 1** Permissions required by misc devices