目录

About This Kit

Overview

Mobile devices have become an integral part of everyday life. Connecting Bluetooth headsets to listen to music, using Wi-Fi for Internet access, and tapping NFC-enabled devices to unlock doors are all common user experiences.

To support these scenarios, Bluetooth provides fundamental connectivity capabilities for music playback, voice calls, and content sharing. Wi-Fi provides basic wireless networking capabilities, while NFC enables tap-to-read and tap-to-card interactions.

Connectivity Kit provides these foundational communication capabilities for you to build connected experiences that integrate seamlessly into users' daily lives.

[h2]Bluetooth

Bluetooth is a wireless communication technology that implements short-range data transmission. The Bluetooth technical specifications are formulated by the Bluetooth Special Interest Group (SIG). It can be used to connect a variety of devices, including smartphones, headsets, speakers, keyboards, mouse devices, and printers. Bluetooth features low power consumption, low cost, and ease of use.

Different Bluetooth modules provide APIs applicable to different scenarios, helping developers develop Bluetooth-related features.

[h2]WLAN

Wireless Local Area Networks (WLANs) are local area networks that transmit and receive data over wireless technologies such as radio waves, infrared signals, or other wireless media. WLANs enable network communication between nodes without requiring physical connections, making them well suited for mobile devices in workplaces and public environments.

The WLAN system provides users with WLAN access (STA mode), peer-to-peer data transmission (P2P mode), and hotspot sharing (AP mode).

[h2]NFC

The Near Field Communication (NFC) service provides functionalities such as NFC switch control, NFC tag read/write, and NFC card emulation.

[h2]Converged Short-Range Communication

The converged short-range communication service provides unified management of short-range communication technologies in the HarmonyOS system.

[h2]Working Principles

Connectivity Kit provides basic communication services for applications. Before a communication service is used by an application, the related feature must be enabled or a connection must be set up. When the service ends, the connection must be closed actively.

[h2]Constraints

Device capabilities can be used only after the related switch is enabled after user authorization. Otherwise, the system does not provide services for third-party applications.