Bluetooth device connection method and device
Abstract
A Bluetooth communication system, including first and second Bluetooth devices. The second device includes a second Bluetooth application and a second Bluetooth host. The first device sends advertising information that includes UUID information of a service supported by the first device; the second host receives the advertising information, the advertising information includes the UUID information of the service supported by the first device; the second host stores and parses the UUID information, and sends a pairing request to the first device; the first device pairs with the second device; the second device instructs the second host to report pairing to the second application, the pairing information including UUID information of the service supported by the first device; the second Bluetooth device sends a service connection request to the first device; and the first device is further configured to establish a service connection to the second device.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A Bluetooth device, comprising:
a Bluetooth module, configured to communicate with another Bluetooth device, wherein the Bluetooth module comprises a Bluetooth host and a Bluetooth application; and
the Bluetooth module further comprises one or more processors; and
a memory, wherein the memory comprises instructions, and when the instructions are executed by the one or more processors, the Bluetooth device is enabled to perform the following operations:
searching for an available Bluetooth device;
receiving advertising information sent by the available Bluetooth device, wherein the available Bluetooth device comprises a first Bluetooth device, and advertising information of the first Bluetooth device comprises universal unique identifier (UUID information of a service supported by the first Bluetooth device;
storing and parsing the UUID information that is of the service supported by the first Bluetooth device and that is comprised in the advertising information of the first Bluetooth device;
instructing the Bluetooth host to pair with the first Bluetooth device;
instructing the Bluetooth host to report pairing information to the Bluetooth application, wherein the pairing information comprises the UUID information of the service supported by the first Bluetooth device; and
in response to pairing with the first Bluetooth device, establishing a service connection to the first Bluetooth device based on the UUID information of the service supported by the first Bluetooth device.
2. The Bluetooth device according to claim 1 , wherein the advertising information is Bluetooth low energy advertising.
3. The Bluetooth device according to claim 1 , wherein the advertising information is extended inquiry response information.
4. The Bluetooth device according to claim 1 , wherein the UUID information of the service supported by the first Bluetooth device comprises UUID information of a voice hands-free profile (HFP) and an advanced audio distribution profile (A2DP).
5. A Bluetooth device, comprising:
a Bluetooth module, configured to communicate with another Bluetooth device, wherein
the Bluetooth module further comprises one or more processors; and
a memory, comprising instructions, wherein when the instructions are executed by the one or more processors, the Bluetooth device is enabled to perform the following operations:
sending advertising information, wherein the advertising information comprises universal unique identifier (UUID) information of a service supported by the Bluetooth device;
receiving a pairing request of a first Bluetooth device;
pairing with the first Bluetooth device in response to the pairing request of the first Bluetooth device;
in response to pairing with the first Bluetooth device, receiving a service connection request of the first Bluetooth device, wherein the service connection request of the first Bluetooth device comprises a part or all of the UUID information of the service supported by the Bluetooth device; and
establishing a service connection to the first Bluetooth device in response to the service connection request of the first Bluetooth device.
6. The Bluetooth device according to claim 5 , wherein the advertising information is Bluetooth low energy advertising.
7. Bluetooth device according to claim 5 , wherein the advertising information is extended inquiry response information.
8. The Bluetooth device according to claim 5 , wherein the UUID information of the service supported by the electronic device comprises UUID information of a voice hands-free profile (HFP) and an advanced audio distribution profile (A2DP).
9. A Bluetooth communication method applied to a Bluetooth device, wherein the Bluetooth device comprises a Bluetooth host and a Bluetooth application, and the method comprises:
searching for an available Bluetooth device;
receiving advertising information sent by the available Bluetooth device, wherein the available Bluetooth device comprises a first Bluetooth device, and advertising information of the first Bluetooth device comprises universal unique identifier (UUID) information of a service supported by the first Bluetooth device;
storing and parsing the UUID information that is of the service supported by the first Bluetooth device and that is comprised in the advertising information of the first Bluetooth device;
instructing the Bluetooth host to pair with the first Bluetooth device;
instructing the Bluetooth host to report pairing information to the Bluetooth application, wherein the pairing information comprises the UUID information of the service supported by the first Bluetooth device; and
in response to pairing with the first Bluetooth device, establishing a service connection to the first Bluetooth device based on the UUID information of the service supported by the first Bluetooth device.
10. The method according to claim 9 , wherein the advertising information is Bluetooth low energy advertising.
11. The method according to claim 9 , wherein the advertising information is extended inquiry response information.
12. The method according to claim 9 , wherein the UUID information of the service supported by the first Bluetooth device comprises UUID information of a voice hands-free profile (HFP) and an advanced audio distribution profile (A2DP).Join the waitlist — get patent alerts
Track US11856498B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.