!8 process code review suggestions

Merge pull request !8 from zgit2021/0329m
This commit is contained in:
openharmony_ci 2022-03-29 08:26:24 +00:00 committed by Gitee
commit b435e99c79
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
10 changed files with 24 additions and 26 deletions

0
BUILD.gn Executable file → Normal file
View File

4
README.md Executable file → Normal file
View File

@ -6,7 +6,7 @@
## Introduction<a name="section11660541593"></a>
The IoT subsystem provides samples for integrating third-party SDKs. For details, see [Third-Party SDK Integration](https://device.harmonyos.com/en/docs/develop/demo/oem_device_wifi_sdk-0000001054412155).
The IoT subsystem provides samples for integrating third-party SDKs.
## Directory Structure<a name="section1464106163817"></a>
@ -14,7 +14,7 @@ The IoT subsystem provides samples for integrating third-party SDKs. For details
domains/iot/ # IoT subsystem
└── link
├── BUILD.gn # Build script
├── demolink # Code for adapting third-party APIs to OpenHarmonyOS
├── demolink # Code for adapting third-party APIs to OpenHarmony
│ ├── BUILD.gn
│ ├── demosdk_adapter.c
│ └── demosdk_adapter.h

2
README_zh.md Executable file → Normal file
View File

@ -6,7 +6,7 @@
## 简介<a name="section11660541593"></a>
IOT子系统为平台开发者提供了集成三方SDK的示例参考,具体集成方法参见《[集成三方SDK](https://device.harmonyos.com/cn/docs/develop/demo/oem_device_wifi_sdk-0000001054412155)》指导文档
IOT子系统为平台开发者提供了集成三方SDK的示例参考。
## 目录<a name="section1464106163817"></a>

0
bundle.json Executable file → Normal file
View File

0
demolink/BUILD.gn Executable file → Normal file
View File

0
demolink/demosdk_adapter.c Executable file → Normal file
View File

2
demolink/demosdk_adapter.h Executable file → Normal file
View File

@ -30,4 +30,4 @@ struct TaskPara {
int DemoSdkCreateTask(unsigned int *handle, const struct TaskPara *para);
void DemoSdkSleepMs(int ms);
#endif
#endif // DEMOSDK_ADAPTER_H

40
libbuild/BUILD.gn Executable file → Normal file
View File

@ -1,22 +1,20 @@
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
static_library("demosdk") {
sources = [
"demosdk.c"
]
include_dirs = [
"//domains/iot/link/libbuild",
"//domains/iot/link/demolink"
]
}
static_library("demosdk") {
sources = [ "demosdk.c" ]
include_dirs = [
"//domains/iot/link/libbuild",
"//domains/iot/link/demolink",
]
}

0
libbuild/demosdk.c Executable file → Normal file
View File

2
libbuild/demosdk.h Executable file → Normal file
View File

@ -18,4 +18,4 @@
int DemoSdkEntry(void);
#endif
#endif // DEMOSDK_H