diff --git a/BUILD.gn b/BUILD.gn
index f235b29..dd777ac 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -24,6 +24,6 @@ if (ohos_kernel_type == "liteos_m") {
deps = [
"$ohos_board_adapter_dir/hals/iot_hardware/wifiiot_lite:hal_iothardware",
]
- head_files = [ "//base/iot_hardware/peripheral/interfaces/kits" ]
+ head_files = [ "//base/iothardware/peripheral/interfaces/inner_api" ]
}
}
diff --git a/README.md b/README.md
index 3ed439f..c5e5e67 100644
--- a/README.md
+++ b/README.md
@@ -11,9 +11,9 @@ The Internet of Things \(IoT\) hardware subsystem provides APIs for operating Io
## Directory Structure
```
-/base/iot_hardware/peripheral
+/base/iothardware/peripheral
├── interfaces
- └── kits # APIs for operating IoT devices
+ └── inner_api # APIs for operating IoT devices
```
## Constraints
diff --git a/README_zh.md b/README_zh.md
index 859b21b..88c7435 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -11,9 +11,9 @@ IOT(The Internet of Things)硬件设备操作的接口。本模块提供设
## 目录
```
-/base/iot_hardware/peripheral
+/base/iothardware/peripheral
├── interfaces
- └── kits #IOT设备操作接口,对外接口存放目录
+ └── inner_api #IOT设备操作接口,对外接口存放目录
```
## 约束
diff --git a/bundle.json b/bundle.json
index f627219..57d70f3 100755
--- a/bundle.json
+++ b/bundle.json
@@ -1,5 +1,5 @@
{
- "name": "@ohos/iot_controller",
+ "name": "@ohos/iothardware_peripheral",
"description": "Iot peripheral controller.",
"version": "3.1",
"license": "Apache License 2.0",
@@ -10,8 +10,8 @@
"dirs": {},
"scripts": {},
"component": {
- "name": "iot_controller",
- "subsystem": "iot_hardware",
+ "name": "peripheral",
+ "subsystem": "iothardware",
"syscap": [],
"features": [],
"adapted_system_type": [
@@ -25,7 +25,7 @@
},
"build": {
"sub_component": [
- "//base/iot_hardware/peripheral:iothardware"
+ "//base/iothardware/peripheral:iothardware"
],
"inner_kits": [],
"test": []
diff --git a/interfaces/kits/iot_errno.h b/interfaces/inner_api/iot_errno.h
similarity index 100%
rename from interfaces/kits/iot_errno.h
rename to interfaces/inner_api/iot_errno.h
diff --git a/interfaces/kits/iot_flash.h b/interfaces/inner_api/iot_flash.h
similarity index 100%
rename from interfaces/kits/iot_flash.h
rename to interfaces/inner_api/iot_flash.h
diff --git a/interfaces/kits/iot_gpio.h b/interfaces/inner_api/iot_gpio.h
similarity index 100%
rename from interfaces/kits/iot_gpio.h
rename to interfaces/inner_api/iot_gpio.h
diff --git a/interfaces/kits/iot_i2c.h b/interfaces/inner_api/iot_i2c.h
similarity index 100%
rename from interfaces/kits/iot_i2c.h
rename to interfaces/inner_api/iot_i2c.h
diff --git a/interfaces/kits/iot_pwm.h b/interfaces/inner_api/iot_pwm.h
similarity index 100%
rename from interfaces/kits/iot_pwm.h
rename to interfaces/inner_api/iot_pwm.h
diff --git a/interfaces/kits/iot_uart.h b/interfaces/inner_api/iot_uart.h
similarity index 100%
rename from interfaces/kits/iot_uart.h
rename to interfaces/inner_api/iot_uart.h
diff --git a/interfaces/kits/iot_watchdog.h b/interfaces/inner_api/iot_watchdog.h
similarity index 100%
rename from interfaces/kits/iot_watchdog.h
rename to interfaces/inner_api/iot_watchdog.h
diff --git a/interfaces/kits/lowpower.h b/interfaces/inner_api/lowpower.h
similarity index 100%
rename from interfaces/kits/lowpower.h
rename to interfaces/inner_api/lowpower.h
diff --git a/interfaces/kits/reset.h b/interfaces/inner_api/reset.h
similarity index 100%
rename from interfaces/kits/reset.h
rename to interfaces/inner_api/reset.h