The DSoftBus subsystem provides the following communication capabilities for OpenHarmony:
WLAN: basic WLAN functions, peer-to-peer (P2P) connection, and WLAN notification, enabling your application to communicate with other devices through a WLAN.
Bluetooth: classic Bluetooth and Bluetooth Low Energy (BLE).
DSoftBus: distributed communications between near-field devices, and device discovery, connection setup, networking, and data transmission capabilities regardless of communication modes.
Remote procedure call (RPC): communications between processes on a device or across devices.
Figure 1 DSoftBus architecture
The DSoftBus directory structure is as follows:
/foundation/communication
├── bluetooth # Bluetooth code
├── dsoftbus # DSoftBus code
├── ipc # IPC code
└── wifi # WLAN code
The devices must be in the same LAN.
In an RPC, the client process obtains the proxy of the process that provides the service (server). Through the proxy, the two processes communicate with each other.
DSoftBus subsystem
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。