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
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
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