• Home
Name Date Size #Lines LOC

..--

figures/12-May-2024-

interfaces/kits/native_cpp/12-May-2024-1,8701,377

sa_profile/connected_tag/12-May-2024-4928

services/connected_tag/12-May-2024-804581

LICENSED12-May-20249.9 KiB177150

OAT.xmlD12-May-20241.3 KiB3013

README.en.mdD12-May-2024920 3725

README.mdD12-May-20241.9 KiB5636

README_zh.mdD12-May-20242.1 KiB6543

bundle.jsonD12-May-20242.3 KiB8281

README.en.md

1# communication_nfc
2
3#### Description
4NFC英文全称Near Field Communication,近距离无线通信。提供NFC有源标签的读写能力。
5
6#### Software Architecture
7Software architecture description
8
9#### Installation
10
111.  xxxx
122.  xxxx
133.  xxxx
14
15#### Instructions
16
171.  xxxx
182.  xxxx
193.  xxxx
20
21#### Contribution
22
231.  Fork the repository
242.  Create Feat_xxx branch
253.  Commit your code
264.  Create Pull Request
27
28
29#### Gitee Feature
30
311.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
322.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
333.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
344.  The most valuable open source project [GVP](https://gitee.com/gvp)
355.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
366.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
37

README.md

1# NFC<a name="EN-US_TOPIC_0000001133207781"></a>
2
3-   [Introduction](#section13587125816351)
4-   [Architecture](#section13587185873516)
5-   [Directory Structure](#section161941989596)
6-   [Constraints](#section119744591305)
7-   [Usage](#section1312121216216)
8-   [Repositories Involved](#section1371113476307)
9
10## Introduction<a name="section13587125816351"></a>
11
12Near-field communication \(NFC\) is a non-contact identification and interconnection technology for short-distance wireless communication between mobile devices, consumer electronic products, PCs, and smart devices.
13
14The NFC module provides connected tag reading and writing.
15
16## Architecture<a name="section13587185873516"></a>
17
18**Figure  1**  NFC architecture<a name="fig4460722185514"></a>
19
20
21![](figures/en-us_image_0000001086731550.gif)
22
23## Directory Structure<a name="section161941989596"></a>
24
25The main code directory structure of Intelligent Soft Bus is as follows:
26
27```
28/foundation/communication
29├── interfaces                        # 接口代码
30│   └── kits
31│       └── native_cpp                # 本地SDK库
32│           └── connected_tag_base    # NFC有源标签SDK实现
33│           └── napi                  # native api
34│               └── connected_tag     # NFC有源标签native api
35└── sa_profile           # 服务属性声明
36│   └── connected_tag    # NFC有源标签服务属性声明
37└── services             # 子系统服务代码
38    └── connected_tag    # NFC有源标签服务
39        ├── etc       # 系统服务配置
40        ├── include   # 头文件
41        └── src       # 源文件
42```
43
44## Constraints<a name="section119744591305"></a>
45
46-   Devices must has the connected tag chip.
47
48## Usage<a name="section1312121216216"></a>
49
50
51
52## Repositories Involved<a name="section1371113476307"></a>
53
54hmf/communication/nfc
55
56

README_zh.md

1# NFC组件<a name="ZH-CN_TOPIC_0000001124412109"></a>
2
3-   [简介](#section11660541593)
4-   [系统架构](#section342962219551)
5-   [目录](#section161941989596)
6-   [约束](#section119744591305)
7-   [说明](#section1312121216216)
8-   [使用说明](#section129654513264)
9-   [相关仓](#section1371113476307)
10
11## 简介<a name="section11660541593"></a>
12
13近距离无线通信技术\(Near Field Communication,NFC\) ,是一种非接触式识别和互联技术,可以在移动设备、消费类电子产品、PC和智能设备间进行近距离无线通信。
14
15OpenHarmony中NFC服务提供有源标签读写业务能力。
16
17## 系统架构<a name="section342962219551"></a>
18
19**图 1**  NFC组件架构图<a name="fig444313176464"></a>
20
21
22![](figures/zh-cn_image_0000001124327253.png)
23
24<a name="table1716174620235"></a>
25<table><thead align="left"></thead>
26<tbody></tbody>
27</table>
28
29## 目录<a name="section161941989596"></a>
30
31```
32/foundation/communication/nfc
33├── interfaces                        # 接口代码
34│   └── kits
35│       └── native_cpp                # 本地SDK库
36│           └── connected_tag_base    # NFC有源标签SDK实现
37│           └── napi                  # native api
38│               └── connected_tag     # NFC有源标签native api
39└── sa_profile           # 服务属性声明
40│   └── connected_tag    # NFC有源标签服务属性声明
41└── services             # 子系统服务代码
42    └── connected_tag    # NFC有源标签服务
43        ├── etc       # 系统服务配置
44        ├── include   # 头文件
45        └── src       # 源文件
46```
47
48## 约束<a name="section119744591305"></a>
49
50设备必须具备有源标签芯片,才能使用有源标签的读写服务。
51
52## 说明<a name="section1312121216216"></a>
53
54### 使用说明<a name="section129654513264"></a>
55
56-  有源标签的读写
57
58设备必须具备有源标签芯片,才能使用有源标签的读写服务,参考“js-apis-connectedTag.md”有源标签开发指南。
59
60
61## 相关仓<a name="section1371113476307"></a>
62
63hmf/communication/nfc
64
65