README.md
1# syspara\_lite<a name="EN-US_TOPIC_0000001081867232"></a>
2
3- [Introduction](#section469617221261)
4- [Directory Structure](#section692981610397)
5- [Constraints](#section741841418125)
6- [Usage](#section1464106163817)
7- [Repositories Involved](#section641143415335)
8
9## Introduction<a name="section469617221261"></a>
10
11The syspara\_lite module provides APIs for obtaining device information, such as the product name, brand name, and manufacturer name, based on the OpenHarmony Product Compatibility Specifications \(PCS\). It also provides APIs for setting and obtaining system attributes.
12
13## Directory Structure<a name="section692981610397"></a>
14
15```
16base/startup/syspara_lite/ # syspara_lite module
17├── frameworks # Source files for the syspara_lite module
18├── hals # Header files for the hardware abstraction layer of the syspara_lite module
19└── interfaces # External APIs for the syspara_lite module
20```
21
22## Constraints<a name="section741841418125"></a>
23
24- The syspara\_lite module is developed using the C language.
25- It supports mini-system devices \(reference memory ≥ 128 KB\), such as Hi3861 V100, and small-system devices \(reference memory ≥ 1 MB\), such as Hi3516D V300 and Hi3518E V300.
26- The fields of system attributes are defined by original equipment manufacturers \(OEMs\). Currently, only default values are provided. The specific values need to be adjusted as required.
27
28## Usage<a name="section1464106163817"></a>
29
30To obtain the system attributes, use the following code:
31
32```
33char* value1 = GetDeviceType();
34printf("Device type =%s\n", value1);
35free(value1);
36char* value2 = GetManufacture();
37printf("Manufacture =%s\n", value2);
38free(value2);
39char* value3 = GetBrand();
40printf("GetBrand =%s\n", value3);
41free(value3);
42```
43
44## Repositories Involved<a name="section641143415335"></a>
45
46[Startup subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/startup.md)
47
48**[startup\_syspara\_lite](https://gitee.com/openharmony/startup_syspara_lite/blob/master/README.md)**
49
50[startup\_appspawn\_lite](https://gitee.com/openharmony/startup_appspawn_lite/blob/master/README.md)
51
52[startup\_bootstrap\_lite](https://gitee.com/openharmony/startup_bootstrap_lite/blob/master/README.md)
53
54[startup\_init\_lite](https://gitee.com/openharmony/startup_init_lite/blob/master/README.md)
55
56