提交 fa67a3d1 编写于 作者: D duangavin123

update 导入OpenHarmony工程

Signed-off-by: Nduangavin123 <duanxichao@huawei.com>
上级 716aa971
......@@ -101,7 +101,7 @@ Based on the Hi3861 platform, the OpenHarmony WLAN module provides abundant peri
## Verification<a name="section1949121910344"></a>
For details about the compilation and burning processes, see [Building Source Code](../quick-start/quickstart-lite-steps-hi3861-connection.md#section191121332125319) and [Burning Images](../quick-start/quickstart-lite-steps-hi3861-connection.md#section3288165814218) in the _Getting Started with Hi3861_.
For details about the compilation and burning processes, see [Building Source Code](../quick-start/quickstart-lite-steps-hi3861-connection.md#section191121332125319) and [Burning Images](../quick-start/quickstart-lite-steps-hi3861-connection.md#section19458165166) in the _Getting Started with Hi3861_.
After the preceding two steps are complete, press the **RST** button to reset the module. If the LED blinks periodically as expected, the verification is passed.
......
......@@ -42,8 +42,4 @@ Let's see how to configure the association intent for an atomic service on the H
![](figures/ability-test.png)
接下来在“真机测试”中,点击**创建按钮**,添加真机测试名单。此处填写的华为帐号信息需要与手机上登录的华为帐号保持一致。
![](figures/prototype-test.png)
# Overview<a name="EN-US_TOPIC_0000001168073314"></a>
>![](../public_sys-resources/icon-note.gif) **NOTE:**
>This guide is prepared for the purpose of helping individual developers to try out the HarmonyOS's OneHop feature. Do not use it to develop or release a commercial solution of OneHop. To develop OneHop for commercial applications, see [HarmonyOS Connect Atomic Service Development](https://developer.huawei.com/consumer/cn/doc/development/SmartDevicePartner-Guides/atomic-service-overview-0000001136377936).
>This guide is prepared for the purpose of helping individual developers to try out the HarmonyOS's OneHop feature. Do not use it to develop or release a commercial solution of OneHop.
The OneHop feature in HarmonyOS is designed for multi-device collaboration. By leveraging the Near Field Communication \(NFC\) protocol, the feature simplifies connections between phones and other devices with a single tap. Combined with the phone's atomic service capabilities, OneHop offers seamless service hopping between devices, complete with lightning-fast device pairing and effortless remote control.
......
......@@ -185,7 +185,7 @@ Sensor驱动模型对驱动开发者开放的功能接口,驱动开发者无
</tbody>
</table>
Sensor驱动模型要求驱动开发者实现的接口功能,参考表3
Sensor驱动模型要求驱动开发者实现的接口功能,参考表3
**表 3** Sensor驱动模型要求驱动开发者实现的接口列表
......@@ -202,22 +202,22 @@ Sensor驱动模型要求驱动开发者实现的接口功能,参考表3
</td>
<td class="cellrowborder" valign="top" width="45.77457745774577%" headers="mcps1.2.4.1.2 "><p id="p880485195711"><a name="p880485195711"></a><a name="p880485195711"></a>int32_t <strong id="b16497123107"><a name="b16497123107"></a><a name="b16497123107"></a>init</strong>(void)</p>
</td>
<td class="cellrowborder" valign="top" width="45.81458145814582%" headers="mcps1.2.4.1.3 "><p id="p1480465165710"><a name="p1480465165710"></a><a name="p1480465165710"></a>传感器设备探测成功后,需要对传感器器设备初始化配置。</p>
<td class="cellrowborder" valign="top" width="45.81458145814582%" headers="mcps1.2.4.1.3 "><p id="p1480465165710"><a name="p1480465165710"></a><a name="p1480465165710"></a>传感器设备探测成功后,需要对传感器器设备初始化配置。</p>
</td>
</tr>
<tr id="row10831296333"><td class="cellrowborder" valign="top" headers="mcps1.2.4.1.1 "><p id="p1783115910333"><a name="p1783115910333"></a><a name="p1783115910333"></a>int32_t <strong id="b146831650010"><a name="b146831650010"></a><a name="b146831650010"></a>GetInfo</strong>(struct SensorBasicInfo *info)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p4831139153316"><a name="p4831139153316"></a><a name="p4831139153316"></a>从传感器设备的HCS配置里,获取当前传感器设备的基本信息。</p>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p4831139153316"><a name="p4831139153316"></a><a name="p4831139153316"></a>从传感器设备的HCS配置里,获取当前传感器设备的基本信息。</p>
</td>
</tr>
<tr id="row178311493339"><td class="cellrowborder" valign="top" headers="mcps1.2.4.1.1 "><p id="p208318963320"><a name="p208318963320"></a><a name="p208318963320"></a>int32_t <strong id="b189921571402"><a name="b189921571402"></a><a name="b189921571402"></a>Enable</strong>(void)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p68310953312"><a name="p68310953312"></a><a name="p68310953312"></a>根据当前传感器设备的HCS配置,下发传感器设备使能操作组的寄存器配置。</p>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p68310953312"><a name="p68310953312"></a><a name="p68310953312"></a>根据当前传感器设备的HCS配置,下发传感器设备使能操作组的寄存器配置。</p>
</td>
</tr>
<tr id="row0831129153318"><td class="cellrowborder" valign="top" headers="mcps1.2.4.1.1 "><p id="p0831169183314"><a name="p0831169183314"></a><a name="p0831169183314"></a>int32_t <strong id="b13541291106"><a name="b13541291106"></a><a name="b13541291106"></a>Disable</strong>(void)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p138314912336"><a name="p138314912336"></a><a name="p138314912336"></a>根据当前传感器设备的HCS配置,下发传感器设备去使能操作组的寄存器配置。</p>
<td class="cellrowborder" valign="top" headers="mcps1.2.4.1.2 "><p id="p138314912336"><a name="p138314912336"></a><a name="p138314912336"></a>根据当前传感器设备的HCS配置,下发传感器设备去使能操作组的寄存器配置。</p>
</td>
</tr>
<tr id="row178311093334"><td class="cellrowborder" valign="top" headers="mcps1.2.4.1.1 "><p id="p583118920338"><a name="p583118920338"></a><a name="p583118920338"></a>int32_t <strong id="b111117118017"><a name="b111117118017"></a><a name="b111117118017"></a>SetBatch</strong>(int64_t samplingInterval, int64_t reportInterval)</p>
......
......@@ -92,7 +92,7 @@ ADC模块适配的三个环节是配置属性文件,实例化驱动入口,
- 实例化AdcDevice成员AdcMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化AdcDevice成员AdcMethod,其定义和成员说明见[AdcMethod定义](#section1618135285210)和[表1](#table1943202316536)。
>实例化AdcDevice成员AdcMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -157,7 +157,7 @@ GPIO模块适配的三个环节是配置属性文件,实例化驱动入口,
- 实例化GpioCntlr成员GpioMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化GpioCntlr成员GpioMethod,详见[GpioMethod定义](#section20369125172319)定义及[GpioMethod结构体成员的回调函数功能说明](#table151341544111)。
>实例化GpioCntlr成员GpioMethod,详见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -72,7 +72,7 @@ I2C模块适配的三个环节是配置属性文件,实例化驱动入口,
- 实例化I2cCntlr成员I2cMethod和I2cLockMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化I2cCntlr成员I2cMethod和I2cLockMethod,其[I2cMethod和I2cLockMethod定义](#section1683458184518)和[成员说明](#table10549174014611)见下
>实例化I2cCntlr成员I2cMethod和I2cLockMethod,详见[接口说明](#section752964871810)
4. **驱动调试:**
......
......@@ -120,7 +120,7 @@ MIPI-DSI模块适配的三个环节是配置属性文件,实例化驱动入口
- 实例化MipiDsiCntlr成员MipiDsiCntlrMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化MipiDsiCntlr成员MipiDsiCntlrMethod,其定义和成员**说明**见[MipiDsiCntlrMethod定义](#section10711202141617)和[表1](#table218771071713)。
>实例化MipiDsiCntlr成员MipiDsiCntlrMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -204,7 +204,7 @@ MMC模块适配的三个环节是配置属性文件,实例化驱动入口,
- 实例化MmcCntlr成员MmcCntlrOps。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化MmcCntlr成员MmcCntlrOps,其定义和成员说明见[MmcCntlrOps定义](#section6203107192915)和[表1](#table99129433019)。
>实例化MmcCntlr成员MmcCntlrOps,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -85,7 +85,7 @@ PWM模块适配HDF框架的三个环节是配置属性文件,实例化驱动
- 实例化PwmDev成员PwmMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化PwmDev成员PwmMethod,其定义和成员说明见[PwmMethod定义](#section14560119104318)和[表1](#table11173154124311)
>实例化PwmDev成员PwmMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -188,7 +188,7 @@ RTC模块适配HDF框架的三个环节是配置属性文件,实例化驱动
- 实例化RtcHost成员RtcMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化RtcHost成员RtcMethod,其定义和成员说明见[RtcMethod定义](#section13652132473017)和[表1](#table12929217311)。
>实例化RtcHost成员RtcMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -264,7 +264,7 @@ SDIO模块适配HDF框架的三个环节是配置属性文件,实例化驱动
- 实例化SdioDevice成员SdioDeviceOps。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化SdioDevice成员SdioDeviceOps,其定义和成员说明见[SdioDeviceOps定义](#section482911395315)和[表1](#table878215448417)
>实例化SdioDevice成员SdioDeviceOps,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -104,7 +104,7 @@ SPI模块适配HDF框架的三个环节是配置属性文件,实例化驱动
- 实例化SpiCntlr成员SpiCntlrMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化SpiCntlr成员SpiCntlrMethod,其定义和成员说明见[SpiCntlrMethod定义](#section715682993110)和[表1](#table7167123615321)。
>实例化SpiCntlr成员SpiCntlrMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -176,7 +176,7 @@ UART模块适配HDF框架的三个环节是配置属性文件,实例化驱动
- 实例化UartHost成员UartHostMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化UartHost成员UartHostMethod,其定义和成员说明见[UartHostMethod定义](#section192316441461)和[表1](#table22862114719)。
>实例化UartHost成员UartHostMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
......@@ -130,7 +130,7 @@ Watchdog模块适配HDF框架的三个环节是配置属性文件,实例化驱
- 实例化WatchdogCntlr成员WatchdogMethod。
>![](../public_sys-resources/icon-note.gif) **说明:**
>实例化WatchdogCntlr成员WatchdogMethod,其定义和成员**说明**见[WatchdogMethod定义](#section220331929)和[表1](#table1370451732)。
>实例化WatchdogCntlr成员WatchdogMethod,其定义和成员说明见[接口说明](#section752964871810)。
4. **驱动调试:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册