CN115499040A - Bluetooth adapter and connection method thereof - Google Patents

Bluetooth adapter and connection method thereof Download PDF

Info

Publication number
CN115499040A
CN115499040A CN202211108407.7A CN202211108407A CN115499040A CN 115499040 A CN115499040 A CN 115499040A CN 202211108407 A CN202211108407 A CN 202211108407A CN 115499040 A CN115499040 A CN 115499040A
Authority
CN
China
Prior art keywords
bluetooth
mode
audio
classic
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211108407.7A
Other languages
Chinese (zh)
Other versions
CN115499040B (en
Inventor
吴叶富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202211108407.7A priority Critical patent/CN115499040B/en
Publication of CN115499040A publication Critical patent/CN115499040A/en
Application granted granted Critical
Publication of CN115499040B publication Critical patent/CN115499040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a Bluetooth adapter and a connection method thereof. The Bluetooth adapter comprises an interface, at least one Bluetooth chip and a radio frequency circuit. Wherein, the interface is connected with the first equipment; at least one Bluetooth chip is coupled with the interface; the radio frequency circuit is coupled with at least one Bluetooth chip. The at least one Bluetooth chip is connected with at least one second device in a classic Bluetooth mode and/or an LE Audio Bluetooth mode through a radio frequency circuit. The connection method of the Bluetooth adapter comprises the following steps: after being connected with first equipment, the first equipment controls a radio frequency circuit to transmit radio frequency signals in a classic bluetooth mode and/or an LE Audio bluetooth mode; connecting at least one second device in one of two bluetooth modes by radio frequency signals; and/or when receiving a first mode switching instruction, switching the current Bluetooth mode to another Bluetooth mode or simultaneously supporting the two Bluetooth modes so as to connect at least one second device. Through the mode, the system compatibility of the Bluetooth adapter is improved.

Description

Bluetooth adapter and connection method thereof
Technical Field
The present application relates to the field of bluetooth device technologies, and in particular, to a bluetooth adapter and a connection method thereof.
Background
Today in the information age, people are more and more paying attention to daily life experience, and the requirement for wireless connection of data transmission is higher and higher. The Bluetooth equipment, especially the Bluetooth adapter is one of important devices for realizing Bluetooth wireless transmission, can be convenient for add the Bluetooth function to various equipment, has wide market prospect, and is an important tool for life and work of people.
With the increasing consumption level and the influence of the continuous development of the industry technology, the classic bluetooth mode cannot meet the increasing data transmission requirements of people, for example, the standard characteristics of the classic bluetooth mode are only one-to-one transmission, and the backhaul is not supported. The existing Bluetooth equipment, especially the Bluetooth adapter, can not be compatible with the connection of equipment in different Bluetooth modes, and has the problems of poor universality and system compatibility and the like.
Disclosure of Invention
The technical problem that this application mainly solved is to provide bluetooth adapter and connection method, can effectively improve bluetooth adapter's mode compatibility.
In order to solve the technical problem, the application adopts a technical scheme that:
a Bluetooth adapter is provided that includes an interface, at least one Bluetooth chip, and a radio frequency circuit. The interface is used for connecting first equipment; the method comprises the following steps that at least one Bluetooth chip is coupled with an interface and supports a classic Bluetooth mode and an LE Audio Bluetooth mode, and when a first mode switching instruction is received, the current connection mode is switched from the classic Bluetooth mode to the LE Audio Bluetooth mode, or from the LE Audio Bluetooth mode to the classic Bluetooth mode, or is switched to simultaneously support the classic Bluetooth mode and the LE Audio Bluetooth mode; the radio frequency circuit is coupled with at least one Bluetooth chip. The at least one bluetooth chip is capable of connecting the at least one second device in a classic bluetooth mode and/or in an LE Audio bluetooth mode via the radio frequency circuit such that the first device and the at least one second device are bluetooth connected.
The application adopts another technical scheme that:
a connection method of a Bluetooth adapter is provided, which includes: and after the first device is connected, controlling the radio frequency circuit to transmit radio frequency signals in a classic Bluetooth mode and/or an LE Audio Bluetooth mode. Connecting at least one second device in a classic bluetooth mode or an LE Audio bluetooth mode via a radio frequency signal; and/or when a mode switching instruction is received, switching the current connection mode from the classical Bluetooth mode to the LE Audio Bluetooth mode, or switching the current connection mode from the LE Audio Bluetooth mode to the classical Bluetooth mode, or switching the current connection mode to simultaneously support the classical Bluetooth mode and the LE Audio Bluetooth mode so as to connect at least one second device.
The beneficial effect of this application is: unlike the prior art, the bluetooth adapter enables the first device and the second device to be bluetooth connected in either a classic bluetooth mode or an LE Audio bluetooth mode. The at least one second device may be connected in a classic bluetooth mode, or connected in an LE Audio bluetooth mode, and when receiving the first mode switching instruction, the current classic bluetooth mode or LE Audio bluetooth mode is switched to the other of the classic bluetooth mode or LE Audio bluetooth mode, or switched to support both bluetooth modes. Therefore, the Bluetooth adapter not only can meet the requirement that only equipment in a classic Bluetooth mode is supported in a large amount of stock markets and Bluetooth connection between equipment in an LE Audio Bluetooth mode is supported, but also can support Bluetooth connection between equipment in the LE Audio Bluetooth mode, and further improves the compatibility and the universality of the Bluetooth adapter in the Bluetooth mode, and can expand the adaptation type of second equipment which can be connected with the Bluetooth adapter in a Bluetooth mode, so that the Bluetooth adapter has a wider application prospect.
Drawings
FIG. 1 is a schematic diagram of a system configuration of an embodiment of a Bluetooth communication system of the present application;
FIG. 2 is a schematic block diagram of a circuit structure of an embodiment of a Bluetooth adapter of the present application;
FIG. 3 is a schematic diagram of an operating mode of a Bluetooth chip of the Bluetooth adapter shown in FIG. 2;
FIG. 4 is another schematic diagram of an operating mode of the Bluetooth chip of the Bluetooth adapter shown in FIG. 2;
FIG. 5 is a further schematic diagram of a mode of operation of the Bluetooth chip of the Bluetooth adapter shown in FIG. 2;
fig. 6 is a flowchart illustrating a connection method of a bluetooth adapter according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The following embodiments of the bluetooth communication system of the present application describe an exemplary structure of the bluetooth communication system 10.
Referring to fig. 1, fig. 1 is a schematic diagram of a system configuration of a bluetooth communication system according to an embodiment of the present application.
The bluetooth communication system 10 comprises a bluetooth adapter 11, at least one first device 12 and at least one second device 13.
The first device 12 may be any electronic device capable of playing audio, such as a smart phone, a PC (Personal Computer), a PDA (Personal Digital Assistant, or tablet Computer), a bluetooth sound, a bluetooth headset, a smart dust collector, a smart fan, a smart robot, a smart television, a wearable device worn on a limb or embedded in clothes or accessories, and the like. The second device 13 may be the same electronic device as the first device 12, but may of course be a different electronic device. For example, the first device 12 is a smartphone, the second device 13 is a bluetooth headset; or the first device 12 is a personal computer, and the second device 13 is a smart phone, etc., which is not limited specifically. Further, the number of the first devices 12 may be plural, the number of the second devices 13 may be plural, and of course, one of the first devices 12 and one of the second devices 13 may be provided. Further, the number of the first devices 12 and the second devices 13 may be the same or different. For example, there are two first devices 12 and two second devices 13, and the like, which are not limited in detail.
The first device 12 may have a bluetooth function and may also implement the bluetooth function through the bluetooth adapter 11. The bluetooth adapter 11 supports both the classic bluetooth mode and the LE Audio bluetooth mode, so that the first device 12 and the second device 13 can be connected in either the classic bluetooth mode or the LE Audio bluetooth mode. The Bluetooth Special Interest Group (SIG) has evolved different Bluetooth protocol version specifications from the first formal version 1.0A to the subsequent versions 1.1, 2.0, 3.0, 4.0, 5.0, 5.2, etc. in 1999. In the bluetooth 4.0 specification, SIG defines four bluetooth controller technologies: BR (Basic Rate, basic code Rate), EDR (Enhanced Data Rate, enhanced code Rate), AMP (Alternate MAC/PHY, MAC/PHY Alternate radio frequency) and LE (low Energy). The BR/EDR/AMP technology before version 4.0 is called the classic Bluetooth version, and after version 4.0 is called the Bluetooth Low energy version. The classic bluetooth mode follows the bluetooth low energy version protocol for radio transmission. While the LE Audio (low power Audio) bluetooth version follows the bluetooth low power version protocol for radio transmission. Besides improving the Audio transmission quality of the Bluetooth earphone, the Bluetooth headset and the Bluetooth sound box, the LE Audio Bluetooth version also introduces a new function, and can create a new and stronger Bluetooth product and new application.
The bluetooth mode supported by the first device 12 and the bluetooth mode supported by the second device 13 may be the same or different. For example, the number of the first devices 12 is one, the number of the second devices 13 is two or more, and the bluetooth adapter 11 may be such that the first device 12 is connected with one second device 13 in the classic bluetooth mode and with another second device in the LE Audio mode. Of course, the number of the first devices 12 may be two or more, the number of the second devices 13 may be two or more, the bluetooth adapter 11 connects two or more first devices 12, the two or more first devices 12 may be bluetooth connected to the second devices 13 through the bluetooth adapter 11, in this case, the bluetooth adapter 11 switches to any one or two first devices 12 among the two or more first devices 12 connected thereto, and performs bluetooth connection with the two or more second devices 13, for example, one first device 12 and one or two second devices 13 may be connected in the classic bluetooth mode, respectively, so that another first device 12 and another or third second device 13 are connected in the LE Audio mode.
For example, in a home application scenario, the number of the first devices 12 is one, which is the personal computer of the owner of the home, and the number of the second devices 13 is two, which are, for example, a bluetooth headset and a sweeping robot, respectively. The master's personal computer supports the classic bluetooth mode, while both the bluetooth headset and the sweeping robot support the LE Audio bluetooth mode. The personal computer of the owner is connected with the Bluetooth headset in an LE Audio Bluetooth mode through the Bluetooth adapter 11, and the owner on the balcony can listen to the music played by the personal computer while enjoying the landscape. The personal computer of the owner can also be connected with the sweeping robot in an LE Audio Bluetooth mode through the Bluetooth adapter 11, so that the sweeping robot plays current news transmitted by the personal computer while sweeping.
Referring to fig. 2, fig. 2 is a schematic block diagram of a circuit structure of a bluetooth adapter according to an embodiment of the present application.
The bluetooth adapter 11 may include an interface 111, at least one bluetooth chip 112, and a radio frequency circuit 113. Optionally, the bluetooth adapter 11 may further comprise a memory 114. The memory 114 is located outside the at least one bluetooth chip 112, or may be integrated into one of the bluetooth chips 112, or each bluetooth chip 112 may be integrated with the memory 114. Wherein the interface 111 is used for connecting the first device 12. At least one bluetooth chip 112 is coupled to the interface 111 and supports a classic bluetooth mode and an LE Audio bluetooth mode. The rf circuit 113 is coupled to the at least one bluetooth chip 112. The memory 114 is coupled to the at least one bluetooth chip 112 and is used for storing various types of instructions, bluetooth names and bluetooth addresses of the second devices 13, and other types of data.
The interface 111 may be a parallel interface or a serial interface. A parallel interface is an interface that transfers data in a parallel manner. The serial interface is an extended interface mainly using a serial communication mode, and generally includes: UART (Universal Asynchronous Receiver/Transmitter), IIC (Inter-Integrated Circuit, also called I2C), SPI (Serial Peripheral Interface), CAN (Controller Area Network), USB (Universal Serial Bus), etc. Alternatively, the kind and number of the interfaces 111 may be set to several.
The bluetooth Chip 112 is an SOC (System on Chip) System of the bluetooth adapter 11, and may include a Central Processing Unit (CPU), which is a core for operation and control of the bluetooth adapter 11 and is a final execution Unit for information Processing and program operation. The processor may be an integrated circuit chip having signal processing capabilities. The processor may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a Microprocessor (MCU) or the processor may be any conventional processor or the like. The bluetooth chip 112 supports a plurality of encoding methods, for example, one or more of an SBC encoding method, an LC3 codec encoding method, an AAC encoding method, an LDAC encoding method, and a PCM encoding method. SBC (sub-band Coding) is an audio Coding designed specifically for bluetooth, with low complexity, and can achieve higher audio quality at medium bit rates. The principle is as follows: the audio signal is divided into sub-band signals of different frequency bands by a band-pass filter, then the signals are converted into baseband signals through frequency shifting, then the baseband signals are respectively sampled, quantized and encoded, and finally a total code stream is synthesized and transmitted. The LC3 Codec (Low Complexity Communications Codec) is an audio Codec developed by member companies including Bluetooth SIG organizations including world first class audio Codec research and development enterprises and adopting modern advanced audio Codec algorithms. The LC3 specification has been promulgated by Bluetooth SIG at 9/15 of 2020, and all Audio specifications for LE Audio will enforce the use of the LC3 Audio codec. AAC (Advanced Audio Coding) is a file compression format specially designed for sound data, and adopts a brand-new algorithm for Coding, so that the Coding is more efficient and has higher cost performance. By using the AAC format, the audio player is smaller and more compact on the premise that the sound quality is not obviously reduced. The apple ipod and the Nokia mobile phone support the audio files in the AAC format. LDAC (High Resolution Audio Coding) is an Audio Coding developed by Sony, and realizes that 24bit/96kHz High-Resolution Audio is transmitted through Bluetooth at the highest bit rate of 990 Kbps. The high transmission code rate ensures that the audio file with high resolution cannot be excessively compressed, thereby ensuring the tone quality. The PCM (Pulse Code Modulation) coding scheme is a bare stream of uncompressed audio sample data, which is standard digital audio data converted from analog signals through sampling, quantization, and coding. The sampling process changes continuous time analog signals into sampling signals with discrete time and continuous amplitude, the quantization process changes the sampling signals into digital signals with discrete time and discrete amplitude, and the coding process codes the quantized signals into a binary code group for output.
As shown in fig. 2, the radio frequency circuit 113 may include a radio frequency receive circuit 1131 and a radio frequency transmit circuit 1132. The rf receiving circuit 1131 mainly performs filtering, mixing demodulation, decoding, and other processing on the received rf signal, and finally restores the audio signal. The signal receiving flow is as follows: an antenna receives a wireless signal, the wireless signal is filtered by an antenna matching circuit and a receiving filter circuit and then amplified by a low noise amplifier, the amplified signal is sent to a mixer after receiving and filtering, the mixer is mixed with a voltage-controlled oscillating signal from a local oscillating circuit to obtain a receiving intermediate frequency signal, and orthogonal demodulation is carried out in a demodulator after intermediate frequency amplification to obtain a receiving baseband signal. The rf transmitting circuit 1132 mainly performs modulation, transmission conversion, power amplification on the transmitted rf signal, and transmits the rf signal through an antenna. Taking sending an audio signal as an example, the radio frequency transmission signal flow is as follows: the microphone converts the sound into analog electric signal, and then the analog electric signal is converted into digital signal after being coded, and the digital signal is processed by a logic audio circuit, namely voice coding, channel coding, interweaving, encrypting, burst forming and separating are carried out. The separated signal is modulated by a transmitting intermediate frequency circuit, the signal is compared with the difference frequency of a receiving local oscillator and a transmitting local oscillator of a frequency synthesizer to obtain a pulsating direct current signal containing transmitting data, the output frequency of the transmitting local oscillator is controlled to serve as a final signal, and the final signal is transmitted from an antenna after power amplification. The received baseband signal is demodulated in the baseband circuit, and then is processed by de-interleaving, decryption, channel decoding and the like, and then is decoded to restore to an analog voice signal, and a receiver is pushed to finish audio transmission.
Referring to fig. 3, fig. 3 is a schematic diagram of an operating mode of the bluetooth chip 112 of the bluetooth adapter 11.
Specifically, at least one bluetooth chip 112 supports a classic bluetooth mode and an LE Audio bluetooth mode. And when receiving the first mode switching instruction, the at least one bluetooth chip 112 can switch the current connection mode from the classic bluetooth mode to the LE Audio bluetooth mode, or from the LE Audio bluetooth mode to the classic bluetooth mode, or to support both the classic bluetooth mode and the LE Audio bluetooth mode. For example, the number of the bluetooth chips 112 is set to two, the two bluetooth chips 112 support the classic bluetooth mode and the LE Audio bluetooth mode in one-to-one correspondence, and at least one second device 13 supporting the corresponding bluetooth mode may be independently connected. One of the bluetooth chips 112 can switch the current connection mode from the classic bluetooth mode to the LE Audio bluetooth mode when receiving the first mode switching instruction, and the other bluetooth chip 112 can switch the current connection mode from the LE Audio bluetooth mode to the classic bluetooth mode when receiving the first mode switching instruction. Or one of the bluetooth chips can switch the current connection mode from the classical bluetooth mode to simultaneously support the classical bluetooth mode and the LE Audio bluetooth mode when receiving the first mode switching instruction, and the other bluetooth chip 112 can switch the current connection mode from the LE Audio bluetooth mode to simultaneously support the LE Audio bluetooth mode and the classical bluetooth mode when receiving the first mode switching instruction. For example, in one embodiment, one of the bluetooth chips 112 is connected to a second device 13 supporting the classic bluetooth mode, and the other bluetooth chip 112 is connected to at least one second device 13 supporting the LE Audio bluetooth mode. Of course, the number of the bluetooth chips 112 may be set to 3, 4, 5, etc., and is not limited specifically. For example, in some embodiments, the number of bluetooth chips 112 may be 3, one of which supports the classic bluetooth mode and the other two of which support the LE Audio bluetooth mode.
For example, in a home application scenario as described above, the bluetooth adapter 11 is provided with two bluetooth chips 112. The number of the first devices 12 is two, which are the personal computer and the smart phone of the home owner, and the number of the second devices 13 is also two, which are the bluetooth headset and the sweeping robot. Personal computer and smart mobile phone all support classic bluetooth mode only, and the bluetooth headset all supports LE Audio bluetooth mode with sweeping the floor the robot. The personal computer is connected with the Bluetooth headset in an LE Audio Bluetooth mode through one of the Bluetooth chips 112 of the Bluetooth adapter 11, and the smart phone is connected with the sweeping robot in the LE Audio Bluetooth mode through the other Bluetooth chip 112 of the Bluetooth adapter 11. The two chips 112 correspond to two link connections, respectively, so that the audio propagation speed is faster. After a while, the owner's pc wants to bluetooth connect to the smartphone, i.e. in this case, the first device 12 becomes one, being a pc, and the second device 13 becomes three, being a smartphone, a bluetooth headset, and a sweeping robot, respectively. When one of the bluetooth chips 112 of the bluetooth adapter 11 receives the switching instruction, it is able to switch the current connection mode from the LE Audio bluetooth mode to a mode that simultaneously supports the LE Audio bluetooth mode and the classic bluetooth mode, that is, the bluetooth chip 112 establishes two paths of bluetooth connections, which are the classic bluetooth mode established for the personal computer and the smart phone, and the LE Audio bluetooth mode established for the personal computer and the bluetooth headset.
At least one bluetooth chip 112 of the bluetooth adapter 11 may also implement bluetooth connection between devices in different bluetooth modes through the first mode switching instruction and the second mode switching instruction.
The implementation manner of the first mode switching instruction is as follows:
optionally, the at least one bluetooth chip 112 is configured to receive a first mode switching instruction, switch the current connection mode from the classic bluetooth mode to the LE Audio bluetooth mode, or switch from the LE Audio bluetooth mode to the classic bluetooth mode, or switch to support both the classic bluetooth mode and the LE Audio bluetooth mode. The first mode switching command may be formed by triggering an entity button on the bluetooth adapter 11, received through a wired interface, or received through a wireless manner. For example, if the bluetooth adapter 11 is provided with a physical key for switching the connection mode, the connection mode can be switched by the physical key provided on the bluetooth adapter 11. For example, the current connection mode is the classic bluetooth mode, then the switching of the classic bluetooth mode to the LE Audio bluetooth mode can be realized through the physical key. For example, a touch screen may be disposed on the bluetooth adapter 11, and the connection mode may be switched by touching the touch screen. For example, the bluetooth adapter 11 may receive a first mode switching instruction through a USB input, uart, I2C, or other wired interface, so as to switch between the classic bluetooth mode and the LE Audio bluetooth mode. Certainly, the bluetooth adapter 11 may also receive the first mode switching instruction through the radio frequency circuit 113, so as to implement switching of the connection mode.
The second mode switching instruction is implemented as follows:
optionally, the at least one bluetooth chip 112 is further configured to, when receiving the second mode switching instruction, save a mode flag corresponding to the second mode switching instruction and restart the bluetooth adapter 11, and when restarting, start the bluetooth adapter 11 in the connection mode indicated by the second mode flag. The connected mode indicated by the second mode flag is either classic bluetooth mode or LE Audio bluetooth mode. That is, when the bluetooth chip 112 receives the second mode switching instruction, for example, the bluetooth chip 112 may receive a switching instruction for switching the LE Audio mode to the classic bluetooth mode, store the second mode flag corresponding to the switching instruction, and start up in the classic bluetooth mode when restarting. Alternatively, the bluetooth chip 112 receives and stores a second mode switching instruction for switching the classic bluetooth mode to the LE Audio mode, and starts in the LE Audio bluetooth mode when restarting.
For example, in a home application scenario as described above, the first device 12 is a personal computer of the home owner, and the two second devices 13 are a bluetooth headset and a smartphone, respectively. The personal computer is connected to the bluetooth headset in LE Audio bluetooth mode via one of the bluetooth chips 112 of the bluetooth adapter 11. After a period of time, music appreciation is finished, the owner of the family switches the LE Audio bluetooth mode to the classic bluetooth mode through the touch screen arranged on the bluetooth adapter 11, the bluetooth chip 112 receives and stores a switching instruction for switching the LE Audio bluetooth mode to the classic mode, and the owner of the family is connected with the smart phone in the classic bluetooth mode indicated by the mode mark when the smart phone is restarted.
Further, the at least one bluetooth chip 112 is capable of connecting the at least one second device 13 in the classic bluetooth mode and/or in the LE Audio bluetooth mode via the radio frequency circuit 113, such that the first device 12 and the at least one second device 13 are bluetooth connected. That is, the bluetooth adapter 11 is provided with at least one bluetooth chip 112 supporting both the classic bluetooth Audio system and the LE Audio system, so that the first device 12 and the at least one second device 13 can be connected in the classic bluetooth mode and/or in the LE Audio mode. Alternatively, at least one bluetooth chip 112 may share the same radio frequency circuit 113. Alternatively, each bluetooth chip 112 may correspond to one rf circuit 113, and different bluetooth chips 112 may correspond to different rf circuits 113.
The bluetooth adapter 11 is provided to enable a bluetooth connection between the first device 12 and the at least one second device 13 in the classical bluetooth mode and/or in the LE Audio mode, wherein the at least one second device 13 can be connected in the classical bluetooth mode and the at least one second device 13 can be connected in the LE Audio bluetooth mode. Therefore, the Bluetooth adapter 11 not only can meet the requirement of Bluetooth connection between a device which only supports a classic Bluetooth mode and a device which supports an LE Audio Bluetooth mode in a large amount of stock markets, but also can support Bluetooth connection between devices which have the LE Audio Bluetooth mode, so that the compatibility and the universality of the Bluetooth adapter in the Bluetooth mode are improved, the adaptation type of the second device 13 which can be in Bluetooth connection with the Bluetooth adapter 11 can be expanded, and the Bluetooth adapter 11 has a wider application scene.
Further, the number of the at least one bluetooth chip 112 is at least two, wherein one bluetooth chip 112 supports only the classic bluetooth mode or supports both the classic bluetooth mode and the LE Audio bluetooth mode to connect with the at least one second device 13. The other bluetooth chip 112 supports only the LE Audio bluetooth mode or both the classic bluetooth mode and the LE Audio bluetooth mode to connect to the at least one further second device 13. For example, in one embodiment, the bluetooth adapter 11 is provided with two bluetooth chips 112, the two bluetooth chips 112 simultaneously support the classic bluetooth mode and the LE Audio bluetooth mode, and the two bluetooth chips 112 are used for connecting at least one other second device 13 in the classic bluetooth mode and/or in the LE Audio bluetooth mode. Both bluetooth chips 112 support the classic bluetooth mode and the LE Audio bluetooth mode, wherein either bluetooth chip 112 can be connected to at least one second device 13 supporting the classic bluetooth mode or the LE Audio bluetooth mode. For example, one of the bluetooth chips 112 is connected to a second device 13 supporting the classic bluetooth mode, and the other bluetooth chip 112 is connected to a second device 13 supporting the LE Audio bluetooth mode. Alternatively, the number of the bluetooth chips 112 of the bluetooth adapter 11 may be set to be several, for example, 3, 4, 5, and the like, which is not limited in particular. For example, when the number of the bluetooth chips 112 is 3, one of the bluetooth chips 112 is connected to one second device 13 supporting the classic bluetooth mode, another bluetooth chip 112 is connected to one second device 13 supporting the LE Audio bluetooth mode, and a third bluetooth chip 112 is connected to another second device 13 supporting the LE Audio bluetooth mode.
For example, in the home application scenario described above, the personal computer of the home owner is connected to the bluetooth headset in LE Audio bluetooth mode via one of the bluetooth chips 112 of the bluetooth adapter 11. The personal computer of the home owner can also be connected with the sweeping robot in an LE Audio bluetooth mode through the same bluetooth chip 112. One bluetooth chip 112 corresponds to each of the two link connections, so that the power consumption of the bluetooth adapter 11 in operation is lower.
Referring to fig. 4, fig. 4 is another schematic diagram of an operation mode of the bluetooth chip 112 of the bluetooth adapter 11.
Optionally, the at least one bluetooth chip 112 is further configured to continuously monitor a current connection state of the first device 12 and the at least one second device 13 within a preset time period, and switch the current connection mode from the classic bluetooth mode to the LE Audio bluetooth mode or from the LE Audio bluetooth mode to the classic bluetooth mode when it is monitored that the current connection state is still unconnected at the end of the preset time period. The bluetooth chip 112 has a monitoring function, and can continuously monitor the current connection state of the first device 12 and the at least one second device 13. For example, the bluetooth chip 112 may monitor that the current state is an unconnected state through a heartbeat packet preset by an internal system, perform system mode switching, and then initiate a bluetooth mode corresponding to the first device 12 and the at least one second device 13 to connect. The heartbeat packet is a self-defined command byte for informing the connection state of the at least one second device 13 between the bluetooth chip 112 and the at least one second device 13 at regular time, and is sent at a certain time interval, which is similar to the rhythm of the heartbeat. The preset time period may be set to a range, for example, 3 seconds, 5 seconds, 7 seconds, 10 seconds, or the like. For example, in one embodiment, the preset time period is set to 7 seconds, and if the bluetooth chip 112 detects that the current connection state of the first device 12 and the at least one second device 13 is not connected yet, the current classic bluetooth connection mode is switched to the LE Audio connection mode. In other embodiments, the preset time period may be set to be different.
Referring to fig. 4, optionally, the memory 114 stores the device bluetooth address of the second device 13 and a bluetooth name matching the device bluetooth address of the second device 13. For example, when the first device 12 is successfully connected to at least one second device 13 via the bluetooth adapter 11, the bluetooth adapter 11 automatically saves the device bluetooth address and bluetooth name of the second device 13 to the memory 114. The bluetooth chip 112 facilitates direct reading of the bluetooth address and bluetooth name of the device in the memory 114 when making a connection again, so as to improve efficiency of searching and searching for the second device 13.
When the bluetooth adapter 11 is in the pairing process, the at least one bluetooth chip 112 is configured to receive a pairing instruction and determine whether a byte length of the pairing instruction reaches a preset byte length. Wherein the predetermined byte length may be at least one bit of instruction input. Alternatively, the predetermined byte length may be set to a different number of bytes.
If the current connection mode is reached, one of the classic bluetooth mode and the LE Audio bluetooth mode is used as the current connection mode, and then the second device 13 corresponding to the pairing instruction is connected. The setting of the pairing instruction can enable the bluetooth chip 112 to be connected with the second device 13 quickly, and the connection efficiency is improved.
If not, the device bluetooth address and the corresponding bluetooth name of the second device 13 are read from the memory 114, and one of the classic bluetooth mode and the LE Audio bluetooth mode is used as the current connection mode, so as to connect with the second device 13 indicated by the read device bluetooth address.
If the device bluetooth address and the corresponding bluetooth name of the second device 13 are not read in the memory 114, one of the classic bluetooth mode and the LE Audio bluetooth mode is used as the current connection mode, and then the second device 13 matching with the current connection mode is automatically searched for connection, and the current connection state is continuously monitored in a preset time period, and if the current connection state is not detected at the end of the preset time period, the current connection mode is switched to the other one of the classic bluetooth mode and the LE Audio bluetooth mode.
The bluetooth adapter 11 may determine that mode switching is performed when connection is impossible after the preset time period is over by monitoring the current connection state. The bluetooth adapter 11 may also connect to the second device 13 indicated by the read device bluetooth address in the current connection mode in one of the classic bluetooth mode and the LE Audio bluetooth mode by reading the device bluetooth address and the corresponding bluetooth name of the second device 13 corresponding to the memory 114. Different connection modes enable the bluetooth adapter 11 to adapt to applications in different scenes and perform flexible switching, thereby improving the connection efficiency of the first device 12 and the second device 13.
For example, in the home application scenario described above, the personal computer of the home owner is connected to the bluetooth headset in LE Audio bluetooth mode via one of the bluetooth chips 112 of the bluetooth adapter 11. After a period of time, when music consumption is over, the memory 114 stores the bluetooth address and name of the bluetooth headset. When the personal computer of the owner of the family connects with the bluetooth headset again through the bluetooth adapter 11, the at least one bluetooth chip 112 is configured to receive the pairing command and determine whether the byte length of the pairing command reaches a preset byte length. For example, the preset byte length is set to one bit. And if so, taking the LE Audio Bluetooth mode as the current connection mode to be connected with the Bluetooth headset. If not, the Bluetooth address and name of the Bluetooth headset are read from the memory 114, and the LE Audio Bluetooth mode is used as the current connection mode to be connected with the Bluetooth headset. After a period of time, music appreciation is finished, and the personal computer of the owner of the family and the sweeping robot are connected through Bluetooth. At least one bluetooth chip 112 receives the pairing instruction sent by the personal computer, and judges that the byte length of the pairing instruction does not reach the preset byte length. For example, the preset byte length is set to three bits. The bluetooth chip 112 reads the bluetooth address and bluetooth name of the sweeping robot in the memory 114. If the Bluetooth address and the Bluetooth name of the sweeping robot are not read, the sweeping robot is automatically searched for connection by taking the classic Bluetooth mode as the current connection mode. After the preset time period is over, if the bluetooth chip 112 monitors that the current connection state is still unconnected, the current connection mode is switched to the LE Audio bluetooth mode to be connected with the sweeping robot.
Referring to fig. 5, fig. 5 is another schematic diagram of an operation mode of the bluetooth chip 112 of the bluetooth adapter 11.
The bluetooth adapter 11 may also automatically scan for the second device 13 while in the pairing process. Optionally, the at least one bluetooth chip 112 may be further configured to use one of the classic bluetooth mode and the LE Audio bluetooth mode as the current connection mode, and then scan and query whether the second device 13 supporting the current connection mode exists within the signal range of the radio frequency circuit 113. If so, the second device 13 is connected to the inquired second device in the current connection mode. The bluetooth adapter 11 scans whether the second device 13 supporting the current connection mode exists in the current connection mode, so as to directly inquire whether the second device 13 supporting the current connection mode exists around, avoid continuous scanning and switching between the classic bluetooth mode and the LE bluetooth mode, and improve the connection efficiency.
Specifically, the at least one bluetooth chip 112 is further configured to, when receiving the designated device bluetooth address input via the first device 12, use one of the classic bluetooth mode and the LE Audio bluetooth mode as a current connection mode, further scan the second device 13 corresponding to the designated device bluetooth address in the signal range of the radio frequency circuit 113, and connect the second device 13 corresponding to the designated device bluetooth address when querying. If the second device 13 corresponding to the designated device bluetooth address is not inquired or is not successfully connected, switching the current connection mode to the other one of the classic bluetooth mode and the LE Audio bluetooth mode, scanning and inquiring the second device 13 corresponding to the designated device bluetooth address, and connecting the second device 13 corresponding to the designated device bluetooth address when the second device 13 corresponding to the designated device bluetooth address is inquired. Optionally, since a large number of bluetooth devices in the current stock market are connected mainly in the classic bluetooth mode, when the at least one bluetooth chip 112 receives the bluetooth address of the designated device input via the first device 12, the classic bluetooth mode can be preferentially used as the current connection mode to scan the second device 13 designated by the bluetooth address of the designated device in the signal range of the radio frequency circuit 113, so as to improve the probability of successful connection. Certainly, in some application scenarios, for example, if the user knows in advance that at least one second device 13 supports the LE Audio bluetooth mode, the method may be configured that when at least one bluetooth chip 112 receives the designated device bluetooth address input through the first device 12, the LE Audio bluetooth mode may also be preferentially used as the current connection mode to scan and query the second device 13 corresponding to the designated device bluetooth address in the signal range of the radio frequency circuit 113, and further, the connection efficiency may be submitted.
Further, the at least one bluetooth chip 112 is further configured to, after the bluetooth adapter 11 is started, use one of the classic bluetooth mode and the LE Audio bluetooth mode as a current connection mode, further scan and query the second device 13 located within the signal range of the radio frequency circuit 113, and connect the queried second device 13 when querying. If the second device 13 is not inquired or the connection with the inquired second device 13 is not successful, the current connection mode is switched to the other one of the classic bluetooth mode and the LE Audio bluetooth mode, and then the second device 13 located within the signal range of the radio frequency circuit 113 is scanned and inquired, and the inquired second device 13 is connected when inquired. That is, the bluetooth chip 112 is configured to automatically scan for the second device 13 located within the signal range of the radio frequency circuit 113 in the classic bluetooth mode or the LE Audio mode as the current connection mode after startup, and connect the second device 13 after the inquiry. In this case, the bluetooth chip 112 determines that the second device 13 cannot be connected in the classic bluetooth mode or the LE Audio bluetooth mode, and switches to scan and query the second device 13 located in the signal range of the rf circuit 113 in the classic bluetooth mode or the LE Audio bluetooth mode, thereby improving the efficiency of scanning and connection.
Referring to fig. 5, in addition, the at least one bluetooth chip 112 is further configured to determine whether the queried user name of the second device 13 is consistent with the pre-stored user name. If yes, the second device 13 is connected to the inquired second device. Alternatively, the at least one bluetooth chip 112 is further configured to determine whether the queried device bluetooth address of the second device 13 at least partially coincides with the pre-stored device bluetooth address. If yes, the second device 13 is connected to the inquired second device. Alternatively, the at least one bluetooth chip 112 is further configured to determine whether the queried signal strength of the second device 13 is greater than a preset strength. If yes, the second device 13 is connected to the inquired second device. The bluetooth chip 112 may query the memory 114 for a bluetooth address, a bluetooth name that is pre-stored with the bluetooth address of the second device 13 to be connected, a bluetooth name that is consistent or at least partially consistent. The at least one bluetooth chip 112 determines whether the second device 13 meets the connection condition in the above three progressive ways, so as to improve the connection efficiency between the first device 12 and the second device 13.
For example, in the home application scenario as described above, the bluetooth chip 112 receives the bluetooth address and bluetooth name of the smart phone input by the personal computer of the home owner. The bluetooth chip 112 scans and queries the smartphone within the signal range of the rf circuit 113 in the classic bluetooth mode as the current connection mode, and successfully connects the smartphone when queried. After a period of time, the personal computer of the home owner inputs the bluetooth address of the sweeping robot, but the bluetooth chip 112 does not inquire the bluetooth address of the sweeping robot and is not successfully connected, the current connection mode is switched from the classic bluetooth mode to the LE Audio bluetooth mode to scan and inquire the sweeping robot, and the sweeping robot is connected when the current connection mode is inquired. After successfully connecting with the robot cleaner, the pc stores the bluetooth address and bluetooth name of the robot cleaner device in the memory 114. The next day, the personal computer needs to be connected with the sweeping robot for the second time, and the Bluetooth chip 112 determines that the equipment Bluetooth address and the Bluetooth name of the sweeping robot are consistent with the pre-stored user name, and then the connection is successful. After several days, the personal computer of the home owner needs to be connected with the sweeping robot again, and the Bluetooth chip 112 determines that the Bluetooth address of the sweeping robot is at least partially consistent with the Bluetooth address of the pre-stored equipment, and then the connection is successful again. When the personal computer of the home owner needs to be connected to the sweeping robot and the bluetooth headset at the same time, the bluetooth chip 112 may also be used to determine whether the queried signal intensities of the bluetooth headset and the sweeping robot are greater than the preset intensity. When the bluetooth chip 112 determines that the signal strength of the sweeping robot is greater than the preset strength and the signal strength of the bluetooth headset is less than the preset strength, the personal computer is connected to the sweeping robot but not to the bluetooth headset. For example, the predetermined signal strength is set to a signal strength that can be received within 5 meters around the pc, and if the signal strength exceeds a range that can be received by the pc, connection is not performed. Of course, when the signal intensity of the bluetooth headset reaches the preset intensity, the personal computer is also connected with the bluetooth headset. When the signal intensity of bluetooth headset and robot of sweeping the floor all did not reach preset intensity, then all do not connect. For example, when the distance between the sweeping robot and the bluetooth headset is 6 meters from the personal computer, the personal computer and the bluetooth headset as well as the sweeping robot do not perform bluetooth connection.
Referring to fig. 6, fig. 6 is a flowchart illustrating an embodiment of a connection method of the bluetooth adapter 11.
Step S11: and after the first device is connected, controlling the radio frequency circuit to transmit radio frequency signals in a classical Bluetooth mode and/or an LE Audio Bluetooth mode.
Step S12: the method comprises the steps of connecting at least one second device in a classical Bluetooth mode or an LE Audio Bluetooth mode through radio frequency signals, and/or switching a current connection mode from the classical Bluetooth mode to the LE Audio Bluetooth mode or from the LE Audio Bluetooth mode to the classical Bluetooth mode or to simultaneously support the classical Bluetooth mode and the LE Audio Bluetooth mode when receiving a first mode switching instruction so as to obtain at least one second device.
For example, in one embodiment, when the bluetooth adapter 11 is configured with one bluetooth chip 112, the bluetooth chip 112 controls the rf circuit 113 to transmit an rf signal, the second device 13 receives the rf signal to connect in the classic bluetooth mode, and when the bluetooth adapter 11 receives the first mode switching instruction, the current connection mode is switched from the classic bluetooth mode to the LE Audio bluetooth mode to connect to another second device 13. Of course, when the bluetooth adapter 11 is provided with one bluetooth chip 112, the bluetooth chip 112 controls the radio frequency circuit 113 to transmit a radio frequency signal, the second device 13 receives the radio frequency signal, and connects in the LE Audio bluetooth mode, and when the bluetooth adapter 11 receives the first mode switching instruction, the current connection mode is switched from the LE Audio bluetooth mode to the classic bluetooth mode to connect to another second device 13. In another embodiment, when the bluetooth adapter 11 is provided with two bluetooth chips 112, one of the bluetooth chips 112 controls the rf circuit 113 to transmit an rf signal, the second device 13 receives an rf signal and connects in the classic bluetooth mode, and when the bluetooth adapter 11 receives the first mode switching instruction, the current classic bluetooth mode is switched to simultaneously support the classic bluetooth mode and the LE Audio bluetooth mode, that is, the other chip 112 controls the corresponding rf circuit 113 to transmit an rf signal and connects to the other second device 13 in the LE Audio bluetooth mode. Or, when the bluetooth adapter 11 is provided with two bluetooth chips 112, one of the bluetooth chips 112 controls the radio frequency circuit 113 to transmit a radio frequency signal, the second device 13 receives the radio frequency signal and connects in the LE Audio bluetooth mode, and when the bluetooth adapter 11 receives the first mode switching instruction, the current LE Audio bluetooth mode is switched to simultaneously support the classic bluetooth mode and the LE Audio bluetooth mode, that is, the other chip 112 controls the corresponding radio frequency circuit 113 to transmit a radio frequency signal and connects to the other second device 13 in the classic bluetooth mode. In other embodiments, when the bluetooth adapter 11 is provided with two bluetooth chips 112, both bluetooth chips 112 control the corresponding rf circuits 113 to emit rf signals, wherein one bluetooth chip 112 is connected to one second device 13 in the classic bluetooth mode, and the other bluetooth chip 112 is connected to another second device 13 in the LE Audio bluetooth mode. Of course, it may also be that, when the bluetooth adapter 11 is provided with two bluetooth chips 112, both bluetooth chips 112 control the corresponding radio frequency circuit 113 to emit radio frequency signals, and both bluetooth chips 112 are connected to the corresponding second devices 13 respectively in the classical bluetooth mode or the LE Audio bluetooth mode.
Specifically, the bluetooth adapter 11 may have functions of switching, monitoring, pairing, scanning, and judging when performing a connection process of the first device 12 and the second device 13. When the bluetooth adapter 11 performs the handover, the steps of the handover process specifically include:
step S21: and receiving a second mode switching instruction.
Step S22: and saving and restarting the mode mark corresponding to the second mode switching instruction.
And the second mode switching instruction is to switch from the classic Bluetooth mode to the LE Audio Bluetooth mode or from the LE Audio Bluetooth mode to the classic Bluetooth mode. The connection mode at restart is the connection mode indicated by the mode flag. The connected mode indicated by the mode flag is either the classic bluetooth mode or the LE Audio bluetooth mode.
Specifically, when the bluetooth adapter 11 performs monitoring, the steps of the monitoring process specifically include:
step S31: the connection status of the first device and the at least one second device is continuously monitored for a preset period of time.
Step S32: and if the connection state is not connected after the preset time period is over, switching.
The switching mode comprises switching the current connection mode from the classical Bluetooth mode to the LE Audio Bluetooth mode or from the LE Audio Bluetooth mode to the classical Bluetooth mode.
Specifically, when the bluetooth adapter 11 is paired, the pairing process specifically includes the following steps:
step S41: and receiving a pairing instruction, and determining whether the byte length of the pairing instruction reaches a preset byte length.
If so, the second device 13 is connected. Wherein, the second device 13 corresponding to the pairing instruction is connected in one of the classic bluetooth mode and the LE Audio bluetooth mode.
If not, the following steps can be executed:
step S42: the device bluetooth address and corresponding bluetooth name are read from the memory.
If the device bluetooth address and the corresponding bluetooth name of the second device 13 are read in the memory 114, the second device 13 is connected. Wherein, the connection mode with the second device 13 indicated by the read device bluetooth address is one of the classic bluetooth mode and the LE Audio bluetooth mode.
If the device bluetooth address and the corresponding bluetooth name of the second device 13 are not read in the memory 114, the following steps may be performed:
step S43: the second device is automatically searched.
If the second device 13 is automatically searched, the connection with the second device 13 is performed. Wherein, the automatic searching mode is one of a classic bluetooth mode and an LE Audio bluetooth mode in the current connection mode. If the second device 13 is not searched, the following steps may be performed:
step S44: the current connection status is continuously monitored.
And if the current connection state is still unconnected at the end of the preset time period, switching the current connection mode. Wherein the switched connection mode is the other of the classic bluetooth mode and the LE Audio bluetooth mode in the current mode.
Specifically, when the bluetooth adapter 11 performs scanning, the scanning process specifically includes the following steps:
step S51: a second device is scanned for a signal range at the radio frequency circuit.
Specifically, the at least one bluetooth chip 112 scans for whether there is a second device 13 supporting the current connection mode within the signal range of the radio frequency circuit 113 with one of the classic bluetooth mode and the LE Audio bluetooth mode as the current connection mode. And if the second device 13 exists, connecting the inquired second device 13 in the current connection mode. If the second device 13 is not present, the following steps may be performed:
step S52: upon receiving a designated device bluetooth address entered via the first device, a scan inquiry is made in either the classic bluetooth mode or the LE Audio bluetooth mode.
Specifically, when receiving the designated device bluetooth address input via the first device 12, the at least one bluetooth chip 112 uses one of the classic bluetooth mode and the LE Audio bluetooth mode as the current connection mode, further scans and queries the second device 13 corresponding to the designated device bluetooth address within the signal range of the radio frequency circuit 113, and connects the second device 13 corresponding to the designated device bluetooth address when querying.
If the second device 13 corresponding to the bluetooth address of the specified device is not inquired or is not successfully connected, the current connection mode is switched to the other one of the classic bluetooth mode and the LE Audio bluetooth mode, and then the inquiry is scanned. Specifically, the at least one bluetooth chip 112 switches the current connection mode from one of the classic bluetooth mode and the LE Audio bluetooth mode to the other of the classic bluetooth mode and the LE Audio bluetooth mode, scans for the second device 13 specified by the bluetooth address of the specified device, and connects the second device 13 corresponding to the bluetooth address of the specified device when queried.
If the designated device bluetooth address input by the first device is received, and the second device 13 designated by the designated device bluetooth address is not queried during scanning query in the classic bluetooth mode or the LE Audio bluetooth mode, the following steps may be performed:
step S53: after starting, one of the classic Bluetooth mode and the LE Audio Bluetooth mode is used as the current connection mode for scanning inquiry.
Specifically, after being activated, the at least one bluetooth chip 112 uses one of the classic bluetooth mode and the LE Audio bluetooth mode as a current connection mode, and then scans and queries the second device 13 located within the signal range of the radio frequency circuit 113, and connects the queried second device 13 when querying.
If the inquiry is not made or the connection with the inquired second device 13 is not successful, the current connection mode is switched to the other one of the classic bluetooth mode and the LE Audio bluetooth mode, then the second device 13 located in the signal range of the radio frequency circuit 113 is scanned and inquired, and the inquired second device 13 is connected when the inquiry is made.
Specifically, when the bluetooth adapter 11 performs the determination, the step of determining the process specifically includes:
step S61: it is determined whether the username of the second device is consistent with the pre-stored username.
Specifically, the at least one bluetooth chip 112 may be configured to determine whether the queried user name of the second device 13 is consistent with the pre-stored user name. If yes, the second device 13 is connected to the inquired second device. If not, the second device 13 is not connected, and the following steps may be performed:
step S62: it is determined whether the device bluetooth address of the second device at least partially coincides with the pre-stored device bluetooth address.
In particular, the at least one bluetooth chip 112 may be configured to determine whether the queried device bluetooth address of the second device 13 at least partially coincides with the pre-stored device bluetooth address. If yes, the second device 13 is connected to the inquired second device. If not, the second device 13 is not connected, and the following steps may be performed:
step S63: it is determined whether the signal strength of the second device is greater than a preset strength.
Specifically, the at least one bluetooth chip 112 may be further configured to determine whether the queried signal strength of the second device 13 is greater than a preset strength. If yes, the second device 13 is connected to the inquired second device. If not, the connection with the second device 13 is not made.
In summary, when the bluetooth adapter 11 is provided with only one bluetooth chip 112, the bluetooth chip 112 supports both the classic bluetooth mode and the LE Audio bluetooth mode. The bluetooth chip 112 is capable of connecting at least one second device 13 in the classic bluetooth mode and at the same time connecting at least another second device 13 in the LE Audio bluetooth mode, so that the first device 12 and the respective second device 13 are bluetooth connected. When the bluetooth adapter 11 is provided with a plurality of bluetooth chips 112, the bluetooth chip 112 supports the classic bluetooth mode or the LE Audio bluetooth mode. One or more of the bluetooth chips 112 may be capable of connecting to at least one second device 13 in the classic bluetooth mode and the other one or more of the bluetooth chips 112 may be capable of connecting to at least one second device 13 in the LE Audio bluetooth mode. When the bluetooth adapter 11 is provided with one or more bluetooth chips 112, it is able to switch the current connection mode from the classic bluetooth mode to the LE Audio bluetooth mode, or from the LE Audio bluetooth mode to the classic bluetooth mode, or to support both the classic bluetooth mode and the LE Audio bluetooth mode when receiving the first mode switching instruction. The bluetooth adapter 11 comprises at least one bluetooth chip 112 as described above, which is arranged such that at least one first device 12 can be connected to at least one second device 13 in a classic bluetooth mode or an LE Audio bluetooth mode, wherein the bluetooth mode supported by the first device 12 is different from the bluetooth mode supported by the second device 13.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (11)

1. A bluetooth adapter, comprising:
an interface for connecting a first device;
at least one Bluetooth chip, which is coupled to the interface and supports a classic Bluetooth mode and an LE Audio Bluetooth mode, and when receiving a first mode switching instruction, switches a current connection mode from the classic Bluetooth mode to the LE Audio Bluetooth mode, or from the LE Audio Bluetooth mode to the classic Bluetooth mode, or to simultaneously support the classic Bluetooth mode and the LE Audio Bluetooth mode;
the radio frequency circuit is coupled with the at least one Bluetooth chip;
the at least one Bluetooth chip is connected with at least one second device in a classical Bluetooth mode and/or an LE Audio Bluetooth mode through the radio frequency circuit, so that the first device and the at least one second device are in Bluetooth connection.
2. The Bluetooth adapter of claim 1,
the number of the at least one Bluetooth chip is at least two, wherein one Bluetooth chip only supports a classic Bluetooth mode or supports both the classic Bluetooth mode and an LE Audio Bluetooth mode so as to be connected with at least one second device; and the other Bluetooth chip only supports LE Audio Bluetooth mode or supports both classic Bluetooth mode and LE Audio Bluetooth mode so as to connect with at least one other second device.
3. The Bluetooth adapter of claim 1,
the first mode switching instruction is formed by triggering an entity key on the Bluetooth adapter, received through a wired interface or received in a wireless mode.
4. The Bluetooth adapter of claim 1,
the at least one Bluetooth chip is further used for saving and restarting a mode mark corresponding to a second mode switching instruction when the second mode switching instruction is received, and starting the Bluetooth adapter in a connection mode indicated by the mode mark when the Bluetooth adapter is restarted; the connection mode indicated by the mode mark is a classic Bluetooth mode or an LE Audio Bluetooth mode.
5. The Bluetooth adapter of claim 1,
the at least one Bluetooth chip is further configured to continuously monitor a connection state between the first device and the at least one second device within a preset time period, and switch the current connection mode from the classic Bluetooth mode to the LE Audio Bluetooth mode or from the LE Audio Bluetooth mode to the classic Bluetooth mode when it is monitored that the connection state is still unconnected at the end of the preset time period.
6. The Bluetooth adapter of claim 1,
the Bluetooth adapter comprises a memory coupled with the at least one Bluetooth chip, and the memory stores a device Bluetooth address and a Bluetooth name matched with the device Bluetooth address;
the at least one Bluetooth chip is also used for receiving a pairing instruction and determining whether the byte length of the pairing instruction reaches a preset byte length;
if so, taking one of a classic Bluetooth mode and an LE Audio Bluetooth mode as a current connection mode, and further connecting with the second equipment corresponding to the pairing instruction;
if not, reading the equipment Bluetooth address and the corresponding Bluetooth name from the memory, taking one of a classic Bluetooth mode and an LE Audio Bluetooth mode as a current connection mode, and further connecting with the second equipment indicated by the read equipment Bluetooth address;
if the device Bluetooth address and the corresponding Bluetooth name are not read in the memory, one of a classic Bluetooth mode and an LE Audio Bluetooth mode is used as a current connection mode, the second device matched with the current connection mode is automatically searched for connection, the current connection state is continuously monitored in a preset time period, and if the current connection state is not connected when the preset time period is finished, the current connection mode is switched to the other of the classic Bluetooth mode and the LE Audio Bluetooth mode.
7. The Bluetooth adapter of claim 1,
the at least one Bluetooth chip is further used for taking one of a classic Bluetooth mode and an LE Audio Bluetooth mode as a current connection mode, and further scanning and inquiring whether the second equipment supporting the current connection mode exists in a signal range of the radio frequency circuit; and if so, connecting the inquired second equipment in the current connection mode.
8. The Bluetooth adapter of claim 7,
the at least one Bluetooth chip is further used for scanning and inquiring the second equipment corresponding to the Bluetooth address of the specified equipment in a signal range of the radio frequency circuit by taking one of a classic Bluetooth mode and an LE Audio Bluetooth mode as a current connection mode when receiving the Bluetooth address of the specified equipment input by the first equipment, and connecting the second equipment corresponding to the Bluetooth address of the specified equipment when inquiring; if the second device corresponding to the Bluetooth address of the specified device is not inquired or is not successfully connected, switching the current connection mode to the other one of the classic Bluetooth mode and the LE Audio Bluetooth mode, scanning and inquiring the second device corresponding to the Bluetooth address of the specified device, and connecting the second device corresponding to the Bluetooth address of the specified device when the second device is inquired.
9. The Bluetooth adapter according to claim 7,
the at least one Bluetooth chip is further configured to scan and query the second device located within the signal range of the radio frequency circuit by using one of a classic Bluetooth mode and an LE Audio Bluetooth mode as a current connection mode after the Bluetooth adapter is started, and connect the queried second device when the query is made; if the second device is not inquired or is not successfully connected with the inquired second device, switching the current connection mode to the other one of the classic Bluetooth mode and the LE Audio Bluetooth mode, scanning and inquiring the second device located in the signal range of the radio frequency circuit, and connecting the inquired second device when the second device is inquired.
10. The Bluetooth adapter according to claim 7,
the at least one Bluetooth chip is further used for determining whether the inquired user name of the second device is consistent with a pre-stored user name; if yes, connecting with the inquired second equipment; or,
the at least one Bluetooth chip is further used for determining whether the inquired device Bluetooth address of the second device is at least partially consistent with a prestored device Bluetooth address; if yes, connecting with the inquired second equipment; or,
the at least one Bluetooth chip is further used for determining whether the inquired signal intensity of the second device is greater than a preset intensity; and if so, connecting with the inquired second equipment.
11. A method of connecting a bluetooth adapter according to any one of claims 1 to 10, comprising:
after the first device is connected, the radio frequency circuit is controlled to transmit radio frequency signals in a classical bluetooth mode and/or an LE Audio bluetooth mode;
connecting at least one second device in a classic bluetooth mode or an LE Audio bluetooth mode through the radio frequency signal; and/or when a mode switching instruction is received, switching the current connection mode from the classical Bluetooth mode to the LE Audio Bluetooth mode, or switching from the LE Audio Bluetooth mode to the classical Bluetooth mode, or switching to simultaneously support the classical Bluetooth mode and the LE Audio Bluetooth mode so as to connect at least one second device.
CN202211108407.7A 2022-09-09 2022-09-09 Bluetooth adapter and connection method thereof Active CN115499040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211108407.7A CN115499040B (en) 2022-09-09 2022-09-09 Bluetooth adapter and connection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211108407.7A CN115499040B (en) 2022-09-09 2022-09-09 Bluetooth adapter and connection method thereof

Publications (2)

Publication Number Publication Date
CN115499040A true CN115499040A (en) 2022-12-20
CN115499040B CN115499040B (en) 2024-05-07

Family

ID=84469351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211108407.7A Active CN115499040B (en) 2022-09-09 2022-09-09 Bluetooth adapter and connection method thereof

Country Status (1)

Country Link
CN (1) CN115499040B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140274033A1 (en) * 2013-03-15 2014-09-18 Research In Motion Limited Method and Apparatus Pertaining to use of Bluetooth and Bluetooth Low Energy
CN106658366A (en) * 2016-11-30 2017-05-10 建荣半导体(深圳)有限公司 Switching method and device for Bluetooth working modes, Bluetooth chip and electronic equipment
CN208158895U (en) * 2018-05-03 2018-11-27 深圳市晨讯达科技有限公司 A kind of PTT transmitter based on intercom, Bluetooth adapter association system
US20190253857A1 (en) * 2016-06-27 2019-08-15 Huawei Technologies Co., Ltd. Bluetooth connection method and terminal
CN111313984A (en) * 2020-02-19 2020-06-19 北京瑞森新谱科技股份有限公司 Testing device and method for various audio codes of Bluetooth headset
CN112272375A (en) * 2020-10-29 2021-01-26 博流智能科技(南京)有限公司 Bluetooth communication system and method and Bluetooth communication conversion device
CN112689222A (en) * 2020-12-14 2021-04-20 无锡中感微电子股份有限公司 Wireless audio conversion device and method
CN113296621A (en) * 2021-06-08 2021-08-24 广州昂瑞微电子技术有限公司 Wireless multimode mouse and operation method thereof
CN113498045A (en) * 2020-04-01 2021-10-12 海能达通信股份有限公司 Communication equipment pairing connection method, communication terminal and device with storage function
CN114765761A (en) * 2021-01-15 2022-07-19 Oppo广东移动通信有限公司 Audio data transmission method, electronic device and storage medium
CN114845280A (en) * 2021-01-15 2022-08-02 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN217216768U (en) * 2022-01-07 2022-08-16 深圳市晟西电子有限公司 Double-pin Bluetooth adapter

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140274033A1 (en) * 2013-03-15 2014-09-18 Research In Motion Limited Method and Apparatus Pertaining to use of Bluetooth and Bluetooth Low Energy
US20190253857A1 (en) * 2016-06-27 2019-08-15 Huawei Technologies Co., Ltd. Bluetooth connection method and terminal
CN106658366A (en) * 2016-11-30 2017-05-10 建荣半导体(深圳)有限公司 Switching method and device for Bluetooth working modes, Bluetooth chip and electronic equipment
CN208158895U (en) * 2018-05-03 2018-11-27 深圳市晨讯达科技有限公司 A kind of PTT transmitter based on intercom, Bluetooth adapter association system
CN111313984A (en) * 2020-02-19 2020-06-19 北京瑞森新谱科技股份有限公司 Testing device and method for various audio codes of Bluetooth headset
CN113498045A (en) * 2020-04-01 2021-10-12 海能达通信股份有限公司 Communication equipment pairing connection method, communication terminal and device with storage function
CN112272375A (en) * 2020-10-29 2021-01-26 博流智能科技(南京)有限公司 Bluetooth communication system and method and Bluetooth communication conversion device
CN112689222A (en) * 2020-12-14 2021-04-20 无锡中感微电子股份有限公司 Wireless audio conversion device and method
CN114765761A (en) * 2021-01-15 2022-07-19 Oppo广东移动通信有限公司 Audio data transmission method, electronic device and storage medium
CN114845280A (en) * 2021-01-15 2022-08-02 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN113296621A (en) * 2021-06-08 2021-08-24 广州昂瑞微电子技术有限公司 Wireless multimode mouse and operation method thereof
CN217216768U (en) * 2022-01-07 2022-08-16 深圳市晟西电子有限公司 Double-pin Bluetooth adapter

Also Published As

Publication number Publication date
CN115499040B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
CN101286770B (en) Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
TWI241828B (en) Handheld personal data assistant (PDA) for communicating with a mobile in music-playing operation
US20090009585A1 (en) WLAN Communications System
US7660602B2 (en) Full-duplex radio speaker system and associated method
JP4037418B2 (en) Card-type functional medium and host device compatible with card-type functional medium
CN101114846A (en) Blue tooth wireless multimedia transmission apparatus and system and method
CN115499040B (en) Bluetooth adapter and connection method thereof
WO2011038584A1 (en) Signal processing method and related devices in multi-mode multi-standby mobile terminal
CN113316129B (en) Method for acquiring coding and decoding capabilities in Bluetooth device and electronic device
EP1457965A2 (en) Music data transmission between an electronic apparatus and a communication device
US20070201431A1 (en) Wireless communication device and method for processing voice over internet protocol signals thereof
CN212519389U (en) Voice transmission equipment and Bluetooth headset
CN201036244Y (en) Mobile terminal of supporting wireless earphone
CN210091713U (en) Support speech control's on-vehicle intelligent charging wire
US20080051131A1 (en) Method and system for transporting FM data over a Bluetooth HCI link
JP2004205578A (en) Audio reproducing equipment communicating audio signal by radio and method of controlling power consumption of audio reproducing equipment
CN2927511Y (en) Wireless audio-frequency transmitting adapter
KR100444734B1 (en) Multi-function Handset capable of DAB receiver and wide-band speech codec
KR100673911B1 (en) Control method and portable system for wireless signal transmission/reception of audio signal
JPH117290A (en) Communication karaoke system using mobile communication body
CN113068103B (en) Audio accessory cascade system
CN116489629B (en) Bluetooth audio data transmission method, device, equipment and medium
CN220342463U (en) Audio system based on sound wave pairing
CN215871395U (en) Double receiving and double transmitting intercom
WO2005125169A1 (en) Telephone audio code wireless remote control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant