Related questions
Question 352 - H14-231_V1.0 discussion
To test the HarmonyOS Bluetooth Low Energy function, a developer uses a central device to call the startScan() interface and scans for a peripheral device. In order for the central device to complete the data exchange with the peripherals, the developer implemented the following development steps.
A.
GATT connection is successful, and the peripheral device can call the write method to write the eigenvalue data to the central device
B.
After the central device obtains the peripherals, it calls connect (boolean isAUtoConnect, BlePeripheraCallback callback) to establish a GATT connection with the peripherals
C.
After the C GATT connection is successful, the central device can call the discoverServices() interface to obtain various data supported by the peripheral equipment
D.
After the GATT connection is started, the developer needs to determine whether the GATT connection is successful based on the serviceDiscoveredEvent(int status) callback result
Your answer:
0 comments
Sorted by
Leave a comment first