USB Serial Communication Management Overview In the USB serial communication service, the USB port of the host is connected to the serial port of the serial port device for serial data transmission. T
阅读全文
openharmony 鸿蒙 deviceManager
USB Device Management When to Use When a USB device is inserted, you can use usbManager to obtain basic information about the USB device, such as the device type and supported functions. The host comm
阅读全文
openharmony 鸿蒙 interruptTransfer
USB Interrupt Transfer When to Use The interrupt transfer is mainly used by the host to receive a data packet sent by a device. The endpoint mode of a device determines whether the interface supports
阅读全文
openharmony 鸿蒙 isochronousTransfer
USB Isochronous Transfer When to Use Isochronous transfer is a transfer mode in which data is transferred in a fixed time window through the USB protocol. This ensures the timing stability and low lat
阅读全文
openharmony 鸿蒙 bulkTransfer
USB Bulk Transfer When to Use Bulk transfer is used to transfer and receive a large amount of data without bandwidth or interval requirements, for example, file or image transfer. Devices such as prin
阅读全文
openharmony 鸿蒙 controlTransfer
USB Control Transfer When to Use The control transfer is used to obtain and set the device status, and control the device attribute status. You can determine whether the control transfer can read or w
阅读全文
openharmony 鸿蒙 contacts-addcontactviaui
Using the Picker for Contact Management Available APIs APIDescription addContactViaUI(context: Context, contact: Contact): Promise<number>Opens the Add contact page to add a contact. This API us
阅读全文
openharmony 鸿蒙 common-problem-of-application
FAQs About Application Packages How do I obtain the fingerprint in the signature information? Call an API. You can call bundleManager.getBundleInfoForSelf to obtain the bundle information, which conta
阅读全文
openharmony 鸿蒙 hap-to-har
Converting HAP to HAR HAR allows you to export APIs or ArkUI components from a module and share the module as a second-party or third-party library with other modules or applications, while HAP does n
阅读全文
openharmony 鸿蒙 multi_module_installation_update_consistency_verification
Consistency Verification for Application Installation and Update As applications become more and more complex, they are split into multiple modules for development and maintenance. Different teams are
阅读全文