# Utils Library ## Overview The Utils library stores basic components of OpenHarmony. These basic components are used by OpenHarmony service subsystems and upper-layer applications. The Utils library provides the following capabilities on different platforms: - LiteOS Cortex-M \(Hi3861 platform\): KV stores, file operations, timers, and IoT peripheral control - LiteOS Cortex-A \(Hi3516 and Hi3518 platforms\): KV stores, timers, and ACE JavaScript APIs ## Directory Structure ``` utils/native/lite/ # Root directory of the Utils library ├── file # Implementation of the file interface ├── hals # HAL directory │ └── file # Header files of the hardware abstraction layer for file operations ├── include # Files of external interfaces provided by the Utils library ├── js # ACE JavaScript API directory │ └── builtin │ ├── common │ ├── deviceinfokit # Device information kit │ ├── filekit # File kit │ └── kvstorekit # KV store kit ├── kal # KAL directory │ └── timer # KAL implementation of the timer ├── kv_store # KV store implementation │ ├── innerkits # Internal KV store interfaces │ └── src # KV store source file └── timer_task # Timer implementation base/iot_hardware # IoT peripheral control ├── frameworks │ └── wifiiot_lite # Implementation of the IoT peripheral control module ├── hals │ └── wifiiot_lite # HAL interfaces └── interfaces └── kits # Interfaces of the IoT peripheral control module vendor/hisi/hi3861/hi3861_adapter/hals/iot_hardware # HAL for IoT peripheral control └── wifiiot_lite # Implementation of the interfaces at the HAL ``` ## Constraints The Utils library is developed using the C language. **Table 1** Capabilities and constraints of the Utils library