Wireless microphone synchronization for BTOIP TWS earplugs
Through BToIP technology and RTP group matching, it solves the data transmission range, capacity and interference problems of traditional Bluetooth and BLE technology, achieves high-quality audio streaming, and improves user experience.
Patent Information
- Application Number
- CN202280089508.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-26
- Filing Date
- 2022-03-18
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional Bluetooth and BLE technologies have range limitations, limited data capacity throughput, and susceptibility to interference from devices such as Wi-Fi in data transmission, which affects user experience.
It adopts Bluetooth (BToIP) technology based on Internet protocol, encapsulates Bluetooth data in packets formatted by the IEEE 802.11 wireless communication standard, uses Wi-Fi channels for data transmission, and supports communication in 2.4GHz, 5GHz, 6GHz and other frequency bands. And it matches the rate and time of the audio stream through Real-Time Transport Protocol (RTP) packets to ensure synchronous transmission of audio data.
The range and capacity of data transmission is increased, the negative impact on user experience is reduced, interference is reduced, and high-quality audio streaming is achieved.
Smart Images

Figure CN118575468A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This patent application claims the priority of Indian Patent Application No. 202241004351 filed on January 26, 2022, which is assigned to the assignee of this application. The disclosure of all prior applications is considered to be a part of this patent application and is incorporated by reference into this patent application. Technical Field
[0003] The present disclosure relates generally to wireless communications, and more particularly, to sending data to a Bluetooth enabled device over a Wi-Fi channel. Background Art
[0004] A wireless personal area network (WPAN) is a short-range wireless network typically established by a user to interconnect various personal devices, sensors, and / or appliances located within a certain distance or area of the user. (BT) protocol, Low Energy Protocol or A WPAN based on the Wireless LAN Protocol can provide wireless connections to peripheral devices within a specific distance (e.g., 5 meters, 10 meters, 20 meters, 100 meters, etc.) of a user.
[0005] Bluetooth is a short-range wireless communication protocol that supports a WPAN between a central device (such as a host device) and at least one peripheral device (such as a client device).The power consumption associated with Bluetooth communications may make Bluetooth impractical in certain applications.
[0006] To address the power consumption issues associated with Bluetooth, the Low energy consumption (BLE) and use it in various applications where data transfer is relatively infrequent. Specifically, BLE utilizes infrequent data transfer by using low duty cycle operation and placing one or both of the central device and the peripheral device in sleep mode between data transmissions, thereby saving power. Example applications using BLE include battery-powered sensors and actuators in various medical, industrial, consumer and fitness applications. BLE can also be used to connect devices such as smart phones, tablet computers and laptop computers that support BLE. Although traditional Bluetooth and BLE provide certain advantages, there is a need for further improvement of Bluetooth and BLE technology. For example, traditional Bluetooth and BLE have limited range, limited data capacity throughput, and are susceptible to interference from other devices communicating (e.g., Wi-Fi communications) in the same frequency band. Summary of the invention
[0007] A simplified summary of one or more aspects is presented below in order to provide a basic understanding of these aspects. This summary is not an extensive overview of all contemplated aspects, and is neither intended to identify key or important elements of all aspects, nor to describe the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to a more detailed description presented later.
[0008] An innovative aspect of the subject matter described in the present disclosure can be implemented as a method for wireless communication by a first peripheral device in a pair of peripheral devices. In some specific implementations, the method includes receiving a message from a wireless device, which commands the pair of peripheral devices to start transmitting streaming media to the wireless device via a wireless link. The streaming media may include a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device in the pair of peripheral devices. The method includes selecting a play time (TTP) and a sequence number value associated with the first audio stream, and synchronizing the selected values of the TTP and the sequence number associated with the first audio stream and the TTP and the sequence number associated with the second audio stream. The method includes converting the sampling rate of the audio data associated with the first audio stream using a sampling rate conversion ratio based on the selected values of the TTP and the sequence number. The method includes encapsulating the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based at least in part on the selected values of the TTP and the sequence number. The method includes sending the plurality of first RTP packets to the wireless device over the wireless link while simultaneously sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
[0009] In various implementations, the wireless link may be at least one of a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighborhood area network (NAN). In some instances, the wireless link may be a wireless channel in a sub-GHz band, a 2.4 GHz band, a 5 GHz band, a 6 GHz band, or a 60 GHz band. In some other instances, the wireless link may occupy one or more portions of another frequency band.
[0010] In some implementations, the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device. In some instances, the audio data carried in the first RTP packet is rate matched to the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
[0011] In other specific implementations, synchronizing the TTP and the selected value of the sequence number includes transmitting a message to the second peripheral device over an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device. In some aspects, the message may be configured to adjust a sampling rate conversion ratio used by the second peripheral device to rate convert audio data associated with the second audio stream. In other aspects, the method may include disabling the ACL link after transmitting the message to the second peripheral device.
[0012] In some instances, the method may include adjusting the selected values of the TTP and the sequence number associated with the first audio stream based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated. In other instances, the method may include obtaining a value of a Bluetooth wall clock on the first peripheral device, and adjusting the selected values of the TTP and the sequence number based on the obtained value of the Bluetooth wall clock.
[0013] In various aspects, each first RTP packet in the plurality of first RTP packets includes an RTP header indicating the TTP associated with the respective RTP packet, the sequence number associated with the respective RTP packet, and a synchronization source (SSRC) identifier corresponding to the first peripheral device. In some aspects, the sequence number and the SSRC identifier carried in the streaming audio together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
[0014] Another innovative aspect of the subject matter described in the present disclosure can be implemented in a first peripheral device in a pair of peripheral devices. In some specific implementations, the first peripheral device includes one or more radio devices, one or more processors coupled to the one or more radio devices, and a memory coupled to the one or more processors. In some instances, the memory stores instructions that are configured to receive a message from a wireless device when executed by the one or more processors in conjunction with the one or more radio devices, and the message commands the pair of peripheral devices to start transmitting streaming media to the wireless device via a wireless link. The streaming media may include a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device in the pair of peripheral devices. The execution of the instruction may be configured to select a value of a TTP and a sequence number associated with the first audio stream, and synchronize the selected values of the TTP and the sequence number associated with the first audio stream with the TTP and the sequence number associated with the second audio stream. The execution of the instruction may be configured to convert the sampling rate of the audio data associated with the first audio stream using a sampling rate conversion ratio based on the selected values of the TTP and the sequence number. The execution of the instruction can be configured to encapsulate the rate-converted audio data into a plurality of first RTP packets based at least in part on the selected values of the TTP and the sequence number. The execution of the instruction can be configured to send the plurality of first RTP packets to the wireless device via the wireless link while sending the plurality of second RTP packets from the second peripheral device to the wireless device via the wireless link.
[0015] In a variety of specific cases, the wireless link may be at least one of the following: a P2P link, a TDLS link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighborhood area network (NAN). In some instances, the wireless link may be a wireless channel in a sub-GHz band, a 2.4 GHz band, a 5 GHz band, a 6 GHz band, or a 60 GHz band. In some other instances, the wireless link may occupy one or more portions of another frequency band.
[0016] In some implementations, the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device. In some instances, the audio data carried in the first RTP packet is rate matched to the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
[0017] In other specific implementations, synchronizing the TTP and the selected value of the sequence number includes transmitting a message to the second peripheral device via an ACL link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device. In some aspects, the message may be configured to adjust a sampling rate conversion ratio used by the second peripheral device to rate convert audio data associated with the second audio stream. In other aspects, execution of the instructions is further configured to disable the ACL link after transmitting the message to the second peripheral device.
[0018] In some instances, execution of the instruction may be further configured to adjust the selected values of the TTP and the sequence number associated with the first audio stream based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a TSF of the wireless device, or a TSF of a wireless AP with which the wireless device is associated. In other instances, execution of the instruction may be further configured to obtain a value of a Bluetooth wall clock on the first peripheral device, and adjust the selected values of the TTP and the sequence number based on the obtained value of the Bluetooth wall clock.
[0019] In various aspects, each first RTP packet in the plurality of first RTP packets includes an RTP header indicating the TTP associated with the respective RTP packet, the sequence number associated with the respective RTP packet, and an SSRC identifier corresponding to the first peripheral device. In some aspects, the sequence number and the SSRC identifier carried in the streaming audio together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
[0020] Details of one or more specific implementations of the subject matter described in the present disclosure are set forth in the accompanying drawings and the following description. Other features, aspects, and advantages will become apparent from the specification, drawings, and claims. Note that the relative dimensions in the drawings may not be drawn to scale. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A pictorial diagram of an example wireless personal area network (WPAN) is shown in accordance with various aspects of the present disclosure.
[0022] Figure 2 A block diagram of a wireless device according to various aspects of the present disclosure is shown.
[0023] Figure 3 A block diagram of a Bluetooth over Internet Protocol (BToIP) protocol stack is shown in accordance with various aspects of the present disclosure.
[0024] FIG. 4A to FIG. 4BAn example topology of a wireless network supporting wireless communications using the BToIP protocol disclosed herein is shown.
[0025] FIG. 5A to FIG. 5B Example topologies of other wireless networks supporting wireless communications using the BToIP protocol disclosed herein are shown.
[0026] Figure 6 A block diagram of another example wireless device in accordance with various aspects of the present disclosure is shown.
[0027] Figure 7 A block diagram of a peripheral device supporting Bluetooth audio streaming to a wireless device over a Wi-Fi link is shown in accordance with various aspects of the present disclosure.
[0028] Figure 8 A timing diagram depicting example wireless communications supporting streaming of Bluetooth audio to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown.
[0029] Fig. 9 A timing diagram depicting example wireless communications supporting streaming of Bluetooth audio to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown.
[0030] Figures 10 to 14 A flow chart illustrating example operations for supporting wireless communications of streaming Bluetooth audio to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown.
[0031] Fig.15 A conceptual data flow diagram illustrating the flow of data between different devices / components in an example apparatus is shown.
[0032] Fig.16 Diagrams illustrating examples of hardware implementations for apparatus employing a processing system are shown.
[0033] Like reference numbers and designations in different drawings indicate like elements. DETAILED DESCRIPTION
[0034] The detailed description set forth below in conjunction with the accompanying drawings is intended as a description of various configurations and is not intended to represent the only configurations with which the concepts described herein may be practiced. In order to provide a thorough understanding of the various concepts, the detailed description includes specific details. However, it is apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form to avoid obscuring these concepts.
[0035] Several aspects of telecommunication systems will now be presented with reference to various apparatus and methods. These apparatus and methods will be described in the following detailed description and illustrated in the accompanying drawings by various blocks, components, circuits, processes, algorithms, etc. (collectively referred to as "elements"). These elements may be implemented using electronic hardware, computer software, or any combination thereof. Whether these elements are implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system.
[0036] For example, an element, or any part of an element, or any combination of elements can be implemented as a "processing system", which includes one or more processors. Examples of processors include microprocessors, microcontrollers, graphics processing units (GPUs), central processing units (CPUs), application processors, digital signal processors (DSPs), reduced instruction set computing (RISC) processors, systems on chip (SoCs), baseband processors, field programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gate logic, discrete hardware circuits, and other suitable hardware configured to perform various functionalities described throughout the present disclosure. One or more processors in a processing system can execute software. Whether it is referred to as software, firmware, middleware, microcode, hardware description language or other names, software should be widely understood to mean instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software components, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, processes, functions, etc.
[0037] Therefore, in one or more example embodiments, the described functions can be implemented with hardware, software, or any combination thereof. If implemented with software, the functions can be stored or encoded on a computer-readable medium as one or more instructions or codes. Computer-readable media include computer storage media. Storage media can be any available medium that can be accessed by a computer. By way of example and not limitation, such computer-readable media can include random access memory (RAM), read-only memory (ROM), electrically erasable programmable ROM (EEPROM), optical disk storage, magnetic disk storage, other magnetic storage devices, a combination of computer-readable media of the aforementioned types, or any other medium that can be used to store computer executable code in the form of instructions or data structures and can be accessed by a computer.
[0038] Communications based on traditional Bluetooth and BLE suffer from several limitations, which may limit the user experience and negatively affect the user experience. For example, the range of traditional Bluetooth and BLE is limited by single-hop radio frequency (RF) transmission. Additionally, traditional Bluetooth and BLE have limited data capacity, which may have several negative effects on the user experience. For example, the limited data capacity of traditional Bluetooth and BLE may result in limited audio quality or a quality level that is unacceptable to the user. In addition, traditional Bluetooth and BLE support radio frequency communications operating in the globally accepted 2.4 GHz industrial, scientific and medical (ISM) band. However, Bluetooth and BLE devices operating only in the 2.4 GHz band may suffer from interference from other devices (such as Wi-Fi devices) communicating with each other in the 2.4 GHz band.
[0039] To address these limitations, Bluetooth and BLE devices may be configured according to various aspects of the subject matter disclosed herein to operate using Bluetooth over Internet Protocol (BT) (BToIP), which allows Bluetooth and BLE data to be communicated over wireless networks based on or at least compatible with IP packets. For example, Bluetooth and BLE devices configured according to the present disclosure may send and receive Bluetooth / BLE data over one or more channels associated with a wireless local area network (WLAN) by encapsulating the Bluetooth / BLE data in packets formatted according to the IEEE 802.11 family of wireless communication standards. In this way, Bluetooth and BLE devices may communicate with each other not only in the 2.4 GHz band, but also in the 5 GHz, 6 GHz bands, and other suitable bands.
[0040] In some other specific implementations, Bluetooth and BLE devices are configured according to various aspects of the subject matter disclosed herein to operate using a Bluetooth (BT) over WLAN (BToWLAN) protocol that allows WLAN-compliant data packets (such as IEEE 802.11-compliant PPDUs) to include encapsulated Ethernet frames carrying encoded Bluetooth data intended for one or more associated Bluetooth peripheral devices. The Ethernet frame may be a new Ethernet type that indicates that the Ethernet frame carries Bluetooth-encoded data intended for one or more Bluetooth peripheral devices. The new Ethernet type may also signal that the Ethernet frame is a non-IP-based Ethernet frame that does not need to pass through a TCP / IP stack before being sent to one or more Bluetooth peripheral devices, thereby avoiding delays associated with the TCP / IP stack.
[0041] True wireless (TWS) earbuds are Bluetooth-enabled peripheral devices that allow each of the right and left earbuds to sample or record audio from a corresponding microphone and send the resulting audio samples to another wireless device, such as a WLAN device that operates or implements a software-enabled access point (soft AP). The wireless device can combine the audio samples received from each of the earbuds to produce a stereo audio stream, which in turn can be sent to a remote device or server via a wireless access point (AP). For example, the stereo audio stream generated by the wireless device can be sent to an online gaming server, or sent to a video blog along with a video recording.
[0042] When the earbuds are paired with a central device via a Bluetooth connection, the right and left earbuds have separate Connected Isochronous Stream (CIS) connections to the central device that allow the earbuds to send their respective audio samples to the central device using Bluetooth Low Energy (LE) audio. The CIS connections associated with the right and left earbuds may be means of connecting isochronous groups (CIGs), which allow the right and left earbuds to rate match and time-align their respective audio samples with each other before sending to the central device. As a result, the central device may be able to combine right and left audio samples received from the right and left earbuds via respective CIS connections to produce an acoustic audio stream without performing additional rate matching or time alignment of the received audio samples.
[0043] However, when the right and left audio samples recorded by the earbuds are sent to the wireless device over a Wi-Fi channel or link based on the BToIP protocol, the CIG cannot be used to rate match the right and left audio samples and align them in time with each other before or during sending to the wireless device. As a result, without additional rate matching and frame alignment processing, the wireless device may not be able to properly combine the right audio samples with the left audio samples to produce a stereo audio stream. Therefore, it is necessary to rate match and align the audio samples recorded by the right and left earbuds with each other before sending the corresponding right and left audio streams to the wireless device over a Wi-Fi channel or link based on the BToIP protocol described herein.
[0044] According to various aspects of the present disclosure, a pair of peripheral devices (such as a pair of TWS earbuds) transmits a first audio stream and a second audio stream carrying a first audio sample and a second audio sample to a wireless device through a wireless link in a manner that ensures that the first audio sample and the second audio sample are rate-matched and aligned with each other in time. In some specific implementations, the first peripheral device (such as the first earbud) includes a first microphone that records the first audio sample, and the second peripheral device (such as the second earbud) includes a second microphone that records the second audio sample. The first peripheral device selects a value of a play time (TTP) and a sequence number associated with the first audio stream, and synchronizes the selected values of the TTP and the sequence number associated with the first audio stream and the TTP and the sequence number associated with the second audio stream. The first peripheral device converts the sampling rate of the audio data associated with the first audio stream using a sampling rate conversion ratio based on the selected values of the TTP and the sequence number, and encapsulates the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based on the selected values of the TTP and the sequence number.
[0045] Similarly, the second peripheral device converts the sampling rate of the audio data associated with the second audio stream using a sampling rate conversion ratio based on the synchronization value of the TTP and the sequence number, and encapsulates the rate-converted audio data into a plurality of second RTP packets based on the synchronization value of the TTP and the sequence number. The first peripheral device sends the plurality of first RTP packets to the wireless device over the wireless link while sending the plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
[0046] By synchronizing the sampling rate conversion ratio used by the first peripheral device with the sampling rate conversion ratio used by the second peripheral device, aspects of the subject matter disclosed herein can ensure that first audio samples carried in a first audio stream are rate matched and time aligned with second audio samples carried in a second audio stream. In this way, the wireless device can combine the first audio stream and the second audio stream into a stereo audio stream without requiring additional rate matching or time alignment of the first audio stream and the second audio stream, thereby simplifying the design of the wireless device and allowing aspects of the present disclosure to be implemented in legacy devices.
[0047] Figure 1 A pictorial diagram of an example wireless personal area network (WPAN) 100 is shown according to some implementations. Within the WPAN 100, a central device 102 may use a BLE protocol or a modified BLE protocol to connect to one or more peripheral devices 104, 106, 108, 110, 112, 114 and establish a BLE communication link 116 therewith. The BLE protocol is part of the BT core specification and implements radio frequency communications operating within the globally accepted 2.4 GHz Industrial, Scientific, and Medical (ISM) band.
[0048] The central device 102 may include suitable logic, circuitry, interfaces, processors and / or code that may be operable to communicate with one or more peripheral devices 104, 106, 108, 110, 112, or 114 using the BLE protocol or the BToIP protocol as described herein. The central device 102 may operate as an initiator to request to establish a link layer (LL) connection with an intended peripheral device 104, 106, 108, 110, 112, or 114. A link manager may be operable to control operations between a BToIP application controller in the central device 102 and a BToIP application controller in each of the intended peripheral devices 104, 106, 108, 110, 112, and / or 114.
[0049] After establishing the requested link layer connection, the central device 102 may become a host device, and the selected or intended peripheral device 104, 106, 108, 110, 112, or 114 may be paired with the central device 102 through the established link layer connection. As a host device, the central device 102 may be able to support multiple link layer connections with various peripheral devices 104, 106, 108, 110, 112, or 114 operating as client devices at one time. Specifically, the central device 102 may manage various aspects of data packet communication in the link layer connection with one or more of the associated peripheral devices 104, 106, 108, 110, 112, or 114. For example, the central device 102 may determine a schedule of operations in the link layer connection with one or more peripheral devices 104, 106, 108, 110, 112, or 114. The central device 102 may also initiate a sequence of link layer protocol data unit (PDU) interchanges through the link layer connection. The link layer connection may be configured to run periodic connection events in a dedicated data channel.The exchange of link layer data transmissions between the central device 102 and one or more of the peripheral devices 104, 106, 108, 110, 112, or 114 may occur within a connection event.
[0050] In some implementations, the central device 102 may be configured to send a first link layer data unit to the intended peripheral device 104, 106, 108, 110, 112, or 114 in each connection event. In other implementations, the central device 102 may utilize a polling scheme to poll the intended peripheral device 104, 106, 108, 110, 112, or 114 for link layer data transmission during a connection event. The intended peripheral device 104, 106, 108, 110, 112, or 114 may send a link layer data unit upon receiving a packetized link layer data PDU from the central device 102. In some other implementations, the peripheral device 104, 106, 108, 110, 112, or 114 may send a link layer data unit to the central device 102 without first receiving a link layer data unit from the central device 102.
[0051] Examples of central device 102 may include a cellular phone, a smart phone, a Session Initiation Protocol (SIP) phone, a mobile station (STA), a laptop computer, a personal computer (PC), a desktop computer, a personal digital assistant (PDA), a satellite radio, a global positioning system, a multimedia device, a video device, a digital audio player, a camera, a game console, a tablet computer, a smart device, a wearable device (such as a smart watch, wireless headphones, etc.), a vehicle, an electric meter, a gas pump, an oven, a thermostat, a hearing aid, a body-worn blood glucose unit, an Internet of Things (IoT) device, or any other similarly functional device.
[0052] Examples of one or more peripheral devices 104, 106, 108, 110, 112, or 114 may include a cellular phone, a smart phone, a SIP phone, a STA, a laptop, a PC, a desktop computer, a PDA, a satellite radio, a global positioning system, a multimedia device, a video device, a digital audio player, a camera, a game console, a tablet computer, a smart device, a wearable device (such as a smart watch, a wireless headset, a wireless earbud, an AR / VR head-mounted set, etc.), a vehicle, an electric meter, a gas pump, an oven, a thermostat, a hearing aid, a body-worn blood glucose unit, an IoT device, or any other similarly functional device. Although the central device 102 is illustrated as communicating with six peripheral devices 104, 106, 108, 110, 112, or 114 in the WPAN 100, the central device 102 may communicate with more than six or less than six peripheral devices within the WPAN 100 without departing from the scope of the present disclosure.
[0053] Devices implementing the BT protocol, such as the central device 102, may operate according to one radio mode, such as basic rate (BR) / enhanced data rate (EDR), and devices implementing the BLE protocol may operate according to the BLE radio mode. In some aspects, the central device 102 may be configured with dual radio modes and thus may be capable of operating according to either the BR / EDR mode or the BLE mode, for example, based on the type of short-range wireless communication in which the device may engage.
[0054] For example, the central device 102 may operate according to the BR / EDR mode for continuous streaming of data, for broadcast networks, for mesh networks, and / or for some other applications where relatively higher data rates may be more appropriate. However, the device may operate according to the BLE mode for short burst data transmissions (such as for some other applications where power savings may be desired and / or relatively lower data rates may be acceptable). In other aspects, the central device 102 may operate according to one or more other radio modes, including proprietary radio modes. Examples of other radio modes may include a high-speed radio mode, a low-energy radio mode, an isochronous radio mode, and the like.
[0055] Figure 2 2 shows a block diagram of a wireless device 200 according to some implementations. In some examples, the wireless device 200 may be Figure 1 In other examples, the wireless device 200 may be Figure 1 The wireless device 200 may be an example of one or more peripheral devices in the peripheral devices 104, 106, 108, 110, 112, or 114. In some aspects, the wireless device 200 may be a Bluetooth enabled device (such as a BLE device).
[0056] As shown, the wireless device 200 may include a processing element, such as a processor 202, that may execute program instructions for the wireless device 200. The wireless device 200 may also include a display circuit 204 that may perform graphics processing and present information to a user via a display 242. The processor 202 may also be coupled to a memory management unit (MMU) 240, which may be configured to receive addresses from the processor 202 and translate these addresses to locations in a memory (such as a memory 206, a ROM 208, or a flash memory 210) and / or address locations in other circuits or devices (such as a display circuit 204, a radio 230, a connector interface 220, and / or a display 242). The MMU 240 may also be configured to perform memory protection and page table translation or setup. In some aspects, the MMU 240 may be included as part of the processor 202.
[0057] The processor 202 may be coupled to other circuits of the wireless device 200. For example, the wireless device 200 may include various types of memory, a connector interface 220 that enables the wireless device 200 to communicate with a computer system, and a wireless communication subsystem that can send and receive data to and from other devices based on one or more wireless communication standards or protocols. For example, in some aspects, the wireless communication subsystem may include (but is not limited to) a WLAN subsystem, a Bluetooth subsystem, or a cellular subsystem (such as an LTE or 5G NR subsystem). The wireless device 200 may include multiple antennas 235a, 235b, 235c, or 235d for performing wireless communications with wireless devices in, for example, a WPAN.
[0058] The wireless device 200 may be configured to implement part or all of the techniques described herein by executing program instructions stored on a memory medium (such as a non-transitory computer-readable storage medium) and / or by hardware or firmware operations. In other embodiments, the techniques described herein may be implemented at least in part by programmable hardware elements (such as a field programmable gate array (FPGA) and / or an application specific integrated circuit (ASIC)).
[0059] In some aspects, radio 230 may include separate controllers configured to control communications for various corresponding radio access technology (RAT) protocols. Figure 2 As shown, the radio component 230 may include a WLAN controller 250 for managing WLAN communications, a Bluetooth controller 252 for managing Bluetooth and BLE, and a WWAN controller 256 for managing WWAN communications. In certain aspects, the wireless device 200 may store and execute a WLAN software driver for controlling WLAN operations performed by the WLAN controller 250, a Bluetooth software driver for controlling Bluetooth operations performed by the Bluetooth controller 252, and / or a WWAN software driver for controlling WWAN operations performed by the WWAN controller 256.
[0060] In some implementations, a first coexistence interface 254, such as a wired interface, may be used to communicate information between the WLAN controller 250 and the Bluetooth controller 252. In some other implementations, a second coexistence interface 258 may be used to communicate information between the WLAN controller 250 and the WWAN controller 256. In some other implementations, a third coexistence interface 260 may be used to communicate information between the Bluetooth controller 252 and the WWAN controller 256.
[0061] In some aspects, one or more of the WLAN controller 250, the Bluetooth controller 252, and / or the WWAN controller 256 may be implemented as hardware, software, firmware, or some combination thereof.
[0062] In some configurations, the WLAN controller 250 may be configured to use all antennas 235a, 235b, 235c and 235d to communicate with a second device in the WPAN using a WLAN link. In some other configurations, the Bluetooth controller 252 may be configured to use one or more antennas in the antennas 235a, 235b, 235c and 235d to communicate with at least one second device in the WPAN. In some other configurations, the WWAN controller 256 may be configured to use all antennas 235a, 235b, 235c and 235d to communicate with a second device in the WPAN. The WLAN controller 250, the Bluetooth controller 252 and / or the WWAN controller 256 may be configured to adjust the wake-up time interval and downtime of the device.
[0063] Figure 3 A block diagram of a BToIP protocol stack 300 according to some specific implementations is shown. The BToIP protocol stack 300 may be referred to as Figure 2 The BToIP protocol stack 300 may be implemented by one or more of the processor 202, memory 206, flash memory 210, ROM 208, radio component 230, and / or Bluetooth controller 252 described above. In some specific implementations, the BToIP protocol stack 300 may be organized into three blocks, namely, an application block 302, a host block 304, and a controller block 306. The application block 302 may be a user application that interfaces with other blocks and / or layers of the BToIP protocol stack 300. In some aspects, the application block 302 may include one or more applications and one or more Bluetooth profiles that allow the applications to communicate using Bluetooth (BT) and BLE. The host block 304 may include upper layers of the BToIP protocol stack 300, and the controller block 306 may include lower layers of the BToIP protocol stack 300. The host block 304 may use a host controller interface (HCI) (such as QHCI 354) to communicate with a controller (such as Figure 2 QHCI 354 may also be used as an interface between controller block 306 and host block 304, which allows a wide range of hosts to interface with controller block 306. In some aspects, controller block 306 may be used for hardware interface management, link establishment, and link management.
[0064] The application block 302 may include a higher level application layer (App) 308, a profile layer (Profile) 364, and a BToIP service layer 352. The host block 304 may include a generic access profile (GAP) 310, a generic attribute protocol (GATT) 312, a security manager (SM) 314, an attribute protocol (ATT) 316, a logical link control and adaptation protocol (L2CAP) 318, and a QHCI 354. In some aspects, the host block 304 may also include a BToIP application controller (BToIP AC) 356 and a TCP / IP stack 358. The controller block 306 may include a link layer (LL) 322, a link manager protocol (LMP) 324, a BT / BLE physical layer (PHY) 326, a WLAN MAC 330, and a WLAN physical layer (WLAN PHY) 332.
[0065] In order to support IoT applications, audio applications and other applications, BT / BLE PHY 326 can be configured to support wider communication bandwidth and data rate than PHY associated with conventional Bluetooth or BLE protocol stack. For example, in some aspects, BT / BLE PHY326 can define a mechanism for sending a bit stream through a physical link connecting a BLE device. The bit stream can be grouped into code words or symbols and converted into a PDU sent through a wireless medium. BT / BLE PHY 326 can provide electrical, mechanical and program interfaces for wireless media. Specifically, BT / BLE PHY 326 can specify frequency band, channel bandwidth, modulation and coding scheme (MCS), cyclic shift diversity (CSD) and other physical aspects of wireless transmission. WLAN PHY 332 can define a mechanism for sending a bit stream through a physical WLAN link connecting two or more devices (such as a WLAN device). BT / BLE PHY 326 and WLANPHY 330 can provide electrical, mechanical and program interfaces to the transmission medium. The shape and characteristics of the electrical connectors, the frequency band used for transmission, the modulation scheme, and similar low-level parameters may be dictated by the BT / BLE PHY 326 and the WLAN PHY 330 .
[0066] LMP 324 can be responsible for low-level communications on BT / BLE PHY 326. LMP 324 can manage the sequence and timing of link layer data PDUs sent and received, and communicate with other devices about connection parameters and data flow control using link layer protocols. In some aspects, LMP 324 can provide gatekeeping functionality to limit exposure and data exchange with other devices. In some specific implementations, LMP 324 can maintain a list of allowed devices and ignore all requests for baseband PDU exchange from devices that are not on the list. LMP 324 can use QHCI 354 to communicate with the upper layers of BToIP protocol stack 300. In some aspects, LMP 324 can be used to generate baseband PDUs and / or empty packets (such as empty PDUs), which can be sent using an LMP communication link established using LMP324 with another traditional BT device (such as a BR / EDR device).
[0067] LL 322 may be responsible for low-level communications on BT / BLE PHY 326. LL 322 may manage the sequence and timing of LL data PDUs sent and received, and communicate with other devices about connection parameters and data flow control using the LL protocol. LL 322 may provide gatekeeping functionality to limit exposure and data exchange with other devices. If filtering is configured, LL 322 may maintain a list of allowed devices and ignore all requests for data PDU exchange from devices not on the list. LL 322 may use QHCI 354 to communicate with the upper layers of the BToIP protocol stack 300. In some aspects, LL 322 may be used to generate LL data PDUs and / or empty packets (such as empty PDUs), which may be sent using an LL communication link established with another BLE device using LL 322.
[0068] L2CAP 318 provides connection-oriented and connectionless data services to upper layer protocols with protocol multiplexing capabilities and segmentation and reassembly operations. L2CAP 318 allows higher layer protocols and applications to send and receive upper layer data packets (L2CAP service data units, SDUs) up to 64 kilobytes in length. L2CAP also allows per-channel flow control and retransmission.
[0069] ATT 316 may be a client / server protocol based on attributes associated with BLE devices configured for specific purposes, such as monitoring heart rate, monitoring temperature, broadcasting advertisements, etc. Attributes may be discovered, read, and written by other BLE-enabled devices. The set of operations performed on ATT 316 may include, but are not limited to, error handling, server configuration, finding information, read operations, write operations, queued writes, etc. ATT 316 may form the basis for data exchange between BLE devices.
[0070] SM 314 may be responsible for device pairing and key distribution. The security manager protocol implemented by SM 314 may define how to perform communication with the SM of the corresponding BLE device. SM 314 may provide additional cryptographic functions that may be used by other components of the modified BLE protocol stack 300. The architecture of SM 314 used in BLE may be designed to minimize the recourse requirements for peripheral devices by transferring work to the central device. SM 314 provides a mechanism that not only encrypts data but also provides data authentication.
[0071] GATT 312 describes a service framework using an attribute protocol for discovering services and for reading and writing characteristic values on a corresponding BLE device. GATT 312 interfaces with application 308 through an application's profile. Application 308 profiles define a collection of attributes to be used in BLE communication and any permissions associated with the attributes. One of the benefits of BT technology is device interoperability. To ensure interoperability, it may not be enough to use a standardized wireless protocol to transfer bytes of information, and therefore a shared data representation level may be required. In other words, BLE devices can use the same data interpretation to transmit or receive data in the same format based on the expected device functionality. The attribute profile used by GATT 312 can act as a bridge between the modified BLE protocol stack and the application and functionality of the BLE device (at least from the perspective of the wireless connection point), and is defined by a profile.
[0072] GAP 310 may provide an interface for application 308 to initiate, establish, and manage connections with corresponding BT / BLE devices. Profile layer 364 may include a set of BT / BLE profiles, including but not limited to Advanced Audio Distribution Profile (A2DP), Audio / Video Remote Control Profile (AVRCP), Hands-Free Profile (HFP), etc. The profiles of profile layer 364 may operate on L2CAP 318. BToIP service 352 may determine peripheral devices (such as Figure 1The BToIP service 352 may be configured to exchange features (such as control point notifications) with the second device based on some triggers, events, and / or conditions detected or determined by the first device (such as via the processor 202 of the first device). The exchanged features (such as control point notifications) may indicate to the second device one or more actions that the second device can perform.
[0073] The QHCI 354 may determine whether to send Bluetooth packets using the traditional Bluetooth protocol or the BToIP protocol disclosed herein. The BToIP protocol bearer may be a software-enabled access point (soft AP) or an access point (AP). The BToIP protocol bearer may operate on multiple globally accepted ISM bands, including but not limited to the 2.4 GHz ISM band, the 5 GHz ISM band, the 6 GHz ISM band, and the like. In some implementations, the WLAN radio of the device and / or the App layer 308 of the device may be configured to select one of the globally accepted ISM bands on which the BToIP protocol bearer operates.
[0074] If QHCI 354 determines that the Bluetooth packets and / or payloads are to be sent via the BToIP protocol, QHCI 354 may route the Bluetooth packets and / or payloads to BToIP AC 356. In some aspects, QHCI 354 may indicate to BToIP AC 356 that the Bluetooth packets and / or payloads are to be sent using the BToIP protocol.
[0075] The BToIP AC 356 may be configured to encapsulate data packets in a manner that indicates that the data packets are to be sent over a WLAN channel or link using the BToIP protocol. For example, the BToIP AC 356 may add a header to each data packet to be sent using the BToIP protocol, the header indicating that the corresponding data packet is formatted to be sent based on the BToIP protocol. The BToIP AC 356 may also be configured to decapsulate data packets received using the BToIP protocol and forward the decapsulated data packets to other layers of the BToIP protocol stack 300. In some aspects, the BToIP AC 356 may decapsulate received BToIP packets by stripping the BToIP header from the received BToIP packets and forwarding the decapsulated data to other layers of the BToIP protocol stack 300.
[0076] The TCP / IP stack 358 may encapsulate the BToIP packet with a TCP / IP or TCP / UDP header and forward the encapsulated BToIP packet to the WLAN MAC 330. The TCP / IP stack 358 may decapsulate packets received via a BToIP link and forward the decapsulated data to other layers of the BToIP protocol stack 300. The WLAN PHY 332 may send BToIP packets to and receive BToIP packets from a peripheral device over a WLAN channel or link. In some aspects, the WLAN MAC 330 may be responsible for low-level communications through the WLAN PHY 332.
[0077] FIG. 4A to FIG. 4B An example topology of a wireless network using the BToIP disclosed herein to support wireless communications is shown. For example, Figure 4A An example wireless network 400A is shown that includes a STA 410 and a pair of earbuds 420 that can be paired with each other via a Bluetooth connection. In some implementations, the STA 410 can be Figure 1 An example of a central device 102, and the peripheral device 420 may be Figure 1 4. In various aspects, the STA 410 and the earbud 420 are also connected via a communication link 430, through which the STA 410 and the earbud 420 can exchange data and other information with each other based on the BToIP disclosed herein. As discussed, BToIP allows the STA 410 to send Bluetooth encoded data (such as an audio stream or a video stream) to the earbud 420 via the communication link 430 using frames or packets that conform to the IEEE 802.11 family of wireless communication standards.
[0078] The communication link 430 may be any suitable contention-based communication link that allows the STA 410 and the peripheral device 420 to communicate with each other using WLAN-compliant data packets. In some aspects, the communication link 430 may be a Wi-Fi link, such as, but not limited to, a P2P link, a TDLS link, or a Wi-Fi direct link. In some instances, the STA 410 may implement a soft AP that operates on the same wireless channel as the STA 410, and the earbud 420 may be associated with the soft AP. In this way, the earbud 420 may be associated with the soft AP, which may allow the STA 410 to communicate directly with the earbud 420 via the communication link 430 without having to tunnel through an access point (AP).
[0079] Figure 4B Shown includes reference Figure 4A An example wireless network 400B of STA 410 and earbud 420 is depicted. Wireless network 400B is similar to Figure 4A The wireless network 400A is different Figure 4BIn the example of FIG. 4 , the primary earbud and the secondary earbud (P and S, respectively) have direct communication links 430A and 430B, respectively, with the STA 410. In this example, the STA 410 may concurrently send data streams to each of the primary earbud (P) and the secondary earbud (S) via the respective communication links 430A and 430B.
[0080] FIG. 5A to FIG. 5B Example topologies of other wireless networks 500A and 500B supporting wireless communications using BToIP as disclosed herein are shown. Figure 5A The wireless network 500A is shown as including a STA 510, a pair of earbuds 520 paired with the STA 510 via a Bluetooth connection, and an AP 530. In some implementations, the STA 510 may be Figure 1 An example of a central device 102, and the earbud 520 may be Figure 1 530 may operate a BSS on one or more wireless channels and may provide a wireless coverage area 535 for WLAN communication via one or more wireless channels. STA 510 may be associated with AP 530 and may receive data streams directly from AP 530 via one or more WLAN channels 531. STA 510 may also provide a wireless coverage area 511 for Bluetooth communication with earbud 520.
[0081] exist Figure 5A In the example of , the earbud 520 is located outside the Bluetooth coverage area 511 provided by the STA 510, and thus the STA 510 may not be able to send data streams to the earbud 520 via the Bluetooth connection. In various aspects, the earbud 520 may also be associated with the AP 530. Specifically, the earbud 530 may operate as a client device of the AP 530 and may receive data streams directly from the AP 530 through one or more WLAN channels 531 based on the BToIP disclosed herein.
[0082] Figure 5B Shown includes reference Figure 5A An example wireless network 500B of STA 510 and earbud 520 is depicted. Figure 5BIn the example of , the earplug 520 is located within the wireless coverage area 512 provided by the STA 510. Thus, the STA 510 and the earplug 520 can use the communication link 540 to communicate directly with each other in the absence of an AP. In various aspects, the communication link 540 allows the STA 510 and the earplug 520 to exchange data and other information with each other based on the BToIP protocol disclosed herein. The communication link 540 can be any suitable contention-based communication link that allows the STA 510 and the peripheral device 520 to communicate with each other using data packets that conform to the WLAN. In some aspects, the communication link 540 can be a Wi-Fi link, such as (but not limited to) a P2P link, a TDLS link, or a Wi-Fi direct link.
[0083] Figure 6 1 is a block diagram of another example wireless device 600 according to various aspects of the present disclosure. In some implementations, the wireless device 600 may be Figure 1 Central device 102 or Figure 2 The wireless device 200 or FIG. 5A to FIG. 5B 600. In some instances, the wireless device 600 can operate as a STA that can send and receive data to and from an associated AP 680 via a wireless channel 681 of a WLAN, while also operating as a soft AP that can send and receive data to and from a peripheral device 520 via a contention-based communication link (such as a P2P link 540) using the BToIP protocol disclosed herein. In some instances, the peripheral device 520 can be paired with the wireless device 600 based on a Bluetooth or BLE protocol. For example, in some aspects, the peripheral device 520 can be a pair of earbuds or headphones that can exchange Bluetooth encoded data and other signals with the wireless device 600 via a Bluetooth link 648 using a Bluetooth or BLE protocol, and can also exchange Bluetooth encoded data and other signals with the wireless device 600 via a P2P link 540 using the BToIP protocol disclosed herein.
[0084] The wireless device 600 may include an application processing subsystem 610, an audio subsystem 620, a WLAN subsystem 630, a Bluetooth subsystem 640, and a host controller interface (HCI) 650. Figure 3 The application processing subsystem 610 of at least some parts of the application layer and host block of the BToIP protocol stack 300 is shown to include a media player 611, an application layer (App) 612, a Bluetooth stack 613, and an audio interface 614. The media player 611 can be a suitable device or component capable of generating or receiving multimedia content including, for example, real-time audio streaming, real-time video streaming, real-time game streaming, and other delay-sensitive services. Figure 3The application 612 of one specific implementation of the application 308 includes at least one Bluetooth profile that defines a set of properties and associated permissions to be used in Bluetooth or BLE communications. In some aspects, the application 612 may include processing resources including (but not limited to) Figure 2 The memory 206, ROM 208 and flash memory 210 of the Bluetooth stack 613 can be Figure 3 A specific implementation of the BToIP protocol stack 300.
[0085] The Bluetooth transmission driver 616 may include a split audio and packetization module 616A and a BToIP AC 616B. The split audio and packetization module 616A may be responsible for packetizing data (such as audio and / or video data) into Bluetooth frames that may be sent to the peripheral device 520 using the Bluetooth / BLE protocol or the BToIP protocol disclosed herein. Figure 3 An example of a BToIP AC 356 BToIP AC 616B may be configured to encapsulate Bluetooth packets in a manner that indicates whether the Bluetooth packets will be sent using the Bluetooth / BLE protocol or the BToIP protocol disclosed herein, as described in reference to Figure 3 For example, the BToIP AC 616B may add a header indicating that the Bluetooth packet will be sent to the peripheral device 520 using the BToIP protocol disclosed herein to the Bluetooth packet. The BToIP AC 616B may also be configured to decapsulate the data packet received based on the BToIP protocol and forward the decapsulated data to other layers of the Bluetooth stack 613. Figure 6 In the example of , BToIP AC 616B is shown as being provided in the host, but in other specific implementations, BToIP AC 616B may be provided within WLAN subsystem 630.
[0086] The Bluetooth transport driver 616 is connected to the audio subsystem 620 via an audio and A / V control link 660. In some examples, the A / V control link 660 can be used to transmit encoded audio / video data and control signals between the Bluetooth transport driver 616 and the audio / video DSP within the audio subsystem 620. The TCP / IP stack 617 allows the wireless device 600 to exchange data and control information with a corresponding layer of a TCP / IP stack implemented in the peripheral device 520. For example, the TCP / IP stack 617 can be used to format frames or packets for transmission based on the TCP / IP transmission protocol, and can be used to extract data from frames or packets received based on the TCP / IP transmission protocol.
[0087] The WLAN stack 618 allows the wireless device 600 to exchange data and control information with the corresponding layers of the WLAN stack implemented in the AP 680. For example, the WLAN stack 618 can be used to format a frame or packet to be sent as a PPDU compliant with IEEE 802.11 to the AP 680 through the WLAN channel 681, and can be used to extract data from the PPDU compliant with IEEE 802.11 received from the AP 680 through the WLAN channel 681. In some examples, the WLAN stack 618, the TCP / IP stack 617, and the UART controller 619 can correspond to the kernel space of the application subsystem 610. The UART 641 managed by the UART controller 619 provides a 3-wire interface (e.g., a transmit line, a receive line, and a ground line) between the application processing subsystem 610 and the Bluetooth subsystem 630. The bus 631 provides a connection between the WLAN stack 618 and the WLAN subsystem 630. The bus 631 may be any suitable bus, signal line, or signaling that may be used to exchange PPDUs, control information, and other signals between the WLAN stack 618 and the WLAN subsystem 630. For example, in some aspects, the bus 631 may be a PCIe bus, a sound line, an Inter-IC Sound (I2S) bus, or the like.
[0088] The audio subsystem 620 may include an encoder / decoder 622, one or more digital signal processors (DSPs) 624, and one or more codecs 626. The encoder / decoder 622 may be used to sample audio / video data extracted from one or more PPDUs received via the WLAN channel 681 and processed in the application block 610 based at least in part on the Bluetooth profile. In some implementations, the encoder / decoder 622 may segment the sampled audio / video data into payloads that may be embedded into one or more Bluetooth packets for transmission to the peripheral device 520 via the Bluetooth link 648. In some other implementations, the encoder / decoder 622 may segment the sampled audio / video data into Ethernet frames or packets that may be encapsulated into IEEE 802.11 compliant PPDUs for transmission to the peripheral device 520 via the P2P link 540. In some instances, the DSP 624 and / or the codec 626 may employ one or more encoding or decoding algorithms in conjunction with sampling the audio data.
[0089] The WLAN subsystem 630 may include a WLAN baseband circuit and firmware block 632, a MAC layer 634, and a PHY 636. The WLAN firmware may control the operation of the WLAN subsystem 630 and may determine the protocol and configuration of one or both of the MAC layer 634 or the PHY 636. The WLAN baseband circuit may decode and / or process received data at a baseband frequency and may process and encode outgoing data at a baseband frequency. The MAC layer 634 and the PHY 636 are jointly responsible for embedding outgoing data into a MAC frame (such as an MSDU), encapsulating the MAC frame into a data packet (such as a PPDU), and sending the data packet to one or more other wireless devices over a WLAN channel 681. The MAC layer 634 and the PHY 636 are also jointly responsible for receiving a data packet (such as a PPDU) over the WLAN channel 681, extracting data from a MAC frame encapsulated in a received data packet, and decoding the extracted data.
[0090] Specifically, when the WLAN subsystem 630 is in a receive mode, the PHY 636 may be used to receive, demodulate, and down-convert a PPDU received via the wireless channel 681, and the MAC layer 634 may be used to decode data encapsulated in the received PPDU. The MAC layer 634 may also forward the decoded data to the application layer via the HCI 650. When the WLAN subsystem 630 is in a transmit mode, the MAC layer 634 may be used to construct and format a MAC frame to carry data provided by an upper layer, and the PHY 636 may encapsulate the MAC frame in one or more PPDUs for transmission via the WLAN channel 681. In some aspects, the PHY 636 may define a mechanism for transmitting an A / V bitstream to the peripheral device 520 via the P2P link 540 based on the BToIP protocol disclosed herein.
[0091] The Bluetooth subsystem 640 may include a Bluetooth baseband circuit and firmware block 642, an Advanced Audio Distribution Profile (A2DP) circuit 644, and a PHY 646. The Bluetooth baseband circuit and firmware block 642 may be used to generate a baseband signal for constructing and deconstructing a data frame based on a Bluetooth or BLE protocol. The Bluetooth baseband circuit and firmware block 642 may also be used to generate a carrier signal for up-converting the baseband signal during data transmission and for down-converting the received data signal to the baseband. The A2DP circuit 644 may be used to control or manage the A2DP link between the wireless device 600 and the peripheral device 520. Specifically, when the Bluetooth subsystem 640 is in a receiving mode, the PHY 646 may be used to receive, demodulate, and down-convert a data packet received via a Bluetooth link or connection 648, and forward the data packet to the application processing subsystem 610. When the Bluetooth subsystem 640 is in a transmit mode, the PHY 646 may be used to encapsulate data provided from upper layers into one or more Bluetooth frames or packets for transmission to the peripheral device 520 over a Bluetooth link or connection 648 .
[0092] In various aspects, the wireless device 600 may include a WLAN link 661 connected between the audio subsystem 620 and the WLAN subsystem 630. The WLAN link 661 may provide a direct link or channel through which Bluetooth encoded audio / video data may be transmitted from the audio subsystem 620 to the WLAN subsystem 630 without passing through or accessing the application processing subsystem 610. Specifically, the WLAN link 661 may allow the Bluetooth encoded data to be forwarded directly from the audio subsystem 620 to the WLAN subsystem 630 for transmission to the peripheral device 520 via the P2P link 540 without consuming processing cycles of the application processor, thereby avoiding latency associated with the application processor and also avoiding latency associated with the TCP / IP stack 617. In this way, the WLAN link 661 may reduce jitter and latency by routing the Bluetooth encoded data directly from the audio subsystem 620 to the WLAN subsystem 630.
[0093] In some specific implementations, the streaming media (e.g., audio and / or video streams) generated by the microphone associated with the peripheral device 520 may be sent to the wireless device 600 according to the real-time transport protocol (RTP). RTP is a network protocol designed for end-to-end, real-time transmission of streaming media over a wireless medium in a manner that is conducive to timely delivery of streaming media relative to reliability. For example, in an RTP session, audio and / or video (A / V) samples are encoded and embedded in the payload of an RTP packet, and one or more bursts of the RTP packet are sent to a receiving device. Each RTP packet includes an RTP header indicating at least a payload type (PT), an RTP profile, a sequence number, a timestamp, a synchronization source (SSRC), one or more contributing sources (CSRC) identifiers, and one or more extended headers. The RTP profile defines a codec for encoding payload data and a mapping thereof to a payload format code carried in the PT field of the RTP header. The sequence number is incremented for each RTP packet and can be used by a receiving device to detect packet loss and adapt to out-of-order delivery of RTP packets. The timestamp may be used by the receiver to play back the media sample for the user at the appropriate time. The SSRC may uniquely identify the source of the media stream, and the CSRC identifier may indicate each source that contributed to the media stream (eg, when the media stream was generated from multiple sources).
[0094] Figure 7 A block diagram of a peripheral device 700 that supports streaming Bluetooth audio to a wireless device over a Wi-Fi link is shown in accordance with certain aspects of the present disclosure. Figure 7 In the example of FIG. 7 , the peripheral device 700 is a pair of earbuds, which include a first earbud 701 and a second earbud 702 separated from each other by a certain distance. The first earbud 701 is shown to include a first microphone (MIC) 740A, an audio subsystem 710, an application subsystem 720, and a Bluetooth subsystem 731. The second earbud 702 is shown to include a second MIC 740B, an audio subsystem 750, an application subsystem 760, and a Bluetooth subsystem 732. In some examples, the respective audio subsystems 710 and 750 of the first earbud 701 and the second earbud 702 may be Figure 6 The example of the audio subsystem 620 of the first earplug 701 and the corresponding application subsystem 720 and 760 of the second earplug 702 may be Figure 6 An example of the application subsystem 610 and / or the corresponding Bluetooth subsystems 731 and 732 of the first earplug 701 and the second earplug 702 may be Figure 6 An example of a Bluetooth subsystem 640 is shown.
[0095] Referring to the first earbud 701, the audio subsystem 710 may include a clear voice capture (CVC) 711, an asynchronous sampling rate converter (ASRC) 712, a Bluetooth encoder 713, and a real-time transport protocol (RTP) encoder 714. The first MIC 740A samples or records the audio associated with the first earbud 701 and forwards the first audio sample 741 to the CVC 711. In some examples, the first MIC 740A may capture the user's voice at a location in or near one of the user's ears (such as the right ear). The CVC 711 receives the first audio sample 741 from the first MIC 740A, filters out background noise and other interference, and provides the filtered audio sample to the ASRC 712.
[0096] Referring to the second earbud 702, the audio subsystem 750 may include a CVC 751, an ASRC 752, a Bluetooth encoder 753, and an RTP encoder 754. The second MIC 740B samples or records the audio associated with the second earbud 702, and forwards the second audio sample 742 to the CVC 751. In some instances, the second MIC 740B may capture the user's voice at a location in or near the user's other ear (such as the left ear). The CVC 751 receives the second audio sample 742 from the second MIC 740B, filters out background noise and other interference, and provides the filtered audio sample to the ASRC 752.
[0097] In some specific implementations, the first earplug 701 and the second earplug 702 may include multiple clock domains. For example, the first earplug 701 may include an audio clock domain and a Bluetooth clock domain. The audio clock domain includes the first MIC 740A and the CVC 711, and the Bluetooth clock domain includes a Bluetooth encoder 713 and an RTP encoder 714. Specifically, the audio clock can be used to sample the audio received by the first MIC 740A of the first earplug 701, and can be used by the CVC 711 to capture and process the first audio sample 741. The Bluetooth clock, which may have a frequency different from the audio clock frequency, can be used by the encoder 713 to encode the first audio sample. The Bluetooth clock can also be used by the RTP encoder 714 to encode the audio associated with the first audio stream into multiple RTP packets suitable for sending to the wireless device over a wireless link.
[0098] The Bluetooth subsystem 731 of the first earbud 701 may be responsible for sending and receiving Bluetooth packets via a Bluetooth or BLE connection to an associated device and / or to the first earbud 701. The Bluetooth subsystem 731 is shown to include at least a first wall clock (for simplicity, other circuits, components, and devices associated with the Bluetooth subsystem 731 are not shown). Figure 7). The first wall clock may be an independent clock or time value to which various transmission timing parameters of the first audio stream may refer. Similarly, the Bluetooth subsystem 732 of the second earbud 702 may be responsible for sending and receiving Bluetooth packets via a Bluetooth or BLE connection to an associated device and / or to the first earbud 701. The Bluetooth subsystem 732 is shown as including at least a second wall clock (for simplicity, other circuits, components, and devices associated with the Bluetooth subsystem 732 are not shown). Figure 7 The second wall clock may be an independent clock or time value, and various sending timing parameters of the second audio stream may refer to the independent clock or time value.
[0099] The ASRC 712 has an input terminal coupled to the CVC 711, has an output terminal coupled to the encoder 713, and has a control terminal for receiving a feedback signal 715. The ASRC 712 may provide an interface between the audio clock domain and the Bluetooth clock domain of the first earbud 701. Specifically, the ASRC 712 may convert the first audio sample 741 from the audio clock domain to the Bluetooth clock domain based on a sampling rate conversion ratio. That is, although the first audio sample 741 provided as input to the ASRC 712 may have a sampling rate based on the audio clock, the first audio sample output from the ASRC 712 may have a sampling rate based on the Bluetooth clock.
[0100] In some examples, the sampling rate conversion ratio may be based on the first audio stream being transmitted via a Wi-Fi link to an associated wireless device (such as Figure 6 The ASRC 712 may select or adjust the sampling rate conversion ratio based on the feedback signal 715 indicating the value of the TTP and RTP sequence number of the first earbud 701. In some aspects, the feedback signal 715 may be provided by the RTP encoder 714 based on the TTP, sequence number, and timing information provided by the synchronizer 721 of the first earbud 701.
[0101] The rate-adjusted audio samples output from ASRC 712 can be encoded into Bluetooth frames by encoder 713, and then forwarded to RTP encoder 714.RTP encoder 714 includes an input terminal for receiving the encoded Bluetooth frames from encoder 713, a control terminal for receiving TTP value and sequence number from application subsystem 720, and an output terminal coupled to application subsystem 720.In some instances, RTP encoder 714 encodes the rate-adjusted audio samples carried in Bluetooth frames into RTP packets, and RTP headers are pre-added to each RTP packet in the RTP packets.In some instances, the RTP header indicates the RTP configuration file and the payload format of the corresponding RTP packets.RTP configuration file can indicate the corresponding mapping of the codec used by RTP encoder 714 for encoding audio data into RTP packets and the payload format code carried in the protocol field payload type (PT) of the RTP header.In some aspects, the RTP header can also indicate that the audio data carried in the corresponding RTP packets is a delay-sensitive business.
[0102] Referring to the second earplug 702, the ASRC 752 has an input terminal coupled to the CVC 751, an output terminal coupled to the encoder 753, and a control terminal for receiving a feedback signal 755. The ASRC 752 may provide an interface between the audio clock domain and the Bluetooth clock domain of the second earplug 702. Specifically, the ASRC 752 may convert the second audio sample 742 from the audio clock domain to the Bluetooth clock domain based on a sampling rate conversion ratio. That is, although the second audio sample 742 provided as an input to the ASRC 752 may have a sampling rate based on the audio clock, the second audio sample output from the ASRC 752 may have a sampling rate based on the Bluetooth clock. The sampling rate conversion ratio may be based on one or more of the transmission delay, sampling rate, and timing information associated with sending the second audio stream to the associated device via a wireless link. For example, in some cases, the ASRC 752 may select or adjust the sampling rate conversion ratio based on the feedback signal 755 indicating the value of the TTP and RTP sequence number for the second earplug 702. In some aspects, the feedback signal 755 may be provided by the RTP encoder 754 based on the TTP, sequence number, and timing information provided by the synchronizer 761 of the second earbud 702 .
[0103] The rate-adjusted audio sample outputted from ASRC 752 can be encoded into Bluetooth frame by encoder 753, and then forwarded to RTP encoder 754.RTP encoder 754 comprises an input terminal for receiving the Bluetooth frame encoded from encoder 753, a control terminal for receiving TTP value and sequence number from application subsystem 760 and an output terminal for coupling to application subsystem 760.In some instances, RTP encoder 754 encodes the rate-adjusted audio sample carried in the Bluetooth frame into the RTP packet, and the RTP header is pre-added to each RTP packet in the RTP packet.As discussed, the RTP header indicates RTP configuration file and the payload format of the corresponding RTP packet.In some respects, the RTP header may also indicate that the audio data carried in the corresponding RTP packet is a delay-sensitive business.
[0104] The application subsystem 720 of the first earbud 701 is coupled to the RTP encoder 714 and the Bluetooth subsystem 731. Figure 7 In the example of FIG. 7 , the application subsystem 720 is shown as including only the synchronizer 721 and the signaling circuit 722, but in other specific implementations, the application subsystem 720 may include other circuits, components, and devices. In some examples, the application subsystem 720 of the first earbud 701 may be configured to format or prepare RTP packets corresponding to the first audio stream for transmission. Similarly, the application subsystem 760 of the second earbud 702 is coupled to the RTP encoder 754 and the Bluetooth subsystem 732. Although for simplicity in FIG. 7 , the application subsystem 720 of the first earbud 701 may be configured to format or prepare RTP packets corresponding to the first audio stream for transmission. Similarly, the application subsystem 760 of the second earbud 702 is coupled to the RTP encoder 754 and the Bluetooth subsystem 732. Figure 7 In the example of , the application subsystem 760 is shown as including only the synchronizer 761 and the signaling circuit 762, but in other specific implementations, the application subsystem 760 may include other circuits, components and devices. In some instances, the application subsystem 760 of the second earbud 702 may be configured to format or prepare RTP packets corresponding to the second audio stream for transmission.
[0105] In some implementations, the signaling circuit 722 of the first earbud 701 can be coupled to the signaling circuit 762 of the second earbud 702 via a Bluetooth asynchronous connectionless (ACL) link 770 between the first earbud 701 and the second earbud 702. The signaling circuits 722 and 762 of the first earbud 701 and the second earbud 702, respectively, can exchange messages, frames, signals, data, and other information with each other via the ACL link 770. For example, in some instances, the signaling circuit 722 of the first earbud 701 can transmit a message including an initial value of a TTP and a sequence number selected by the first earbud 701 to the second earbud 702. In some aspects, the message can initialize various states of the second earbud 702 to match corresponding states of the first earbud 701. By exchanging messages and other information directly between the first earbud 701 and the second earbud 702 via the ACL link 770, aspects of the present disclosure can ensure that the TTP value and RTP sequence number applied to the first audio data by the RTP encoder 714 can be synchronized with the TTP value and RTP sequence number applied to the RTP packets associated with the second audio stream by the RTP encoder 754, for example, without communicating with an associated device. In this way, aspects of the present disclosure can ensure that the RTP packets sent by the first earbud 701 are aligned in time with the RTP packets sent by the second earbud 702.
[0106] As discussed, the application subsystem 720 of the first earbud 701 can determine a TTP value indicating the time when a first RTP packet associated with a first audio stream will be sent from the first earbud 701 to an associated device. The TTP value can be embedded within the first RTP packet of the first audio stream and sent to the associated device. Similarly, the application subsystem 760 of the second earbud 702 can determine a TTP value indicating the time when a first RTP packet associated with a second audio stream will be sent from the second earbud 702 to an associated device. In some specific implementations, the TTP value can be embedded within a corresponding RTP packet associated with one or both of the first audio stream and the second audio stream sent to the associated device. In this way, the associated device can use the TTP value carried in the RTP packet received over the Wi-Fi link to determine the time when the audio sample carried in the corresponding RTP packet will be played to the user.
[0107] In some specific implementations, the application subsystem 720 of the first earbud 701 may periodically obtain a wall clock value from the Bluetooth subsystem 731, and may use the obtained wall clock value to adjust the TTP value assigned to the RTP packet associated with the first audio stream. Similarly, the application subsystem 760 of the second earbud 702 may periodically obtain a wall clock value from the Bluetooth subsystem 732, and may use the obtained wall clock value to adjust the TTP value assigned to the RTP packet associated with the second audio stream. In some instances, the first earbud 701 and the second earbud 702 may synchronize the TTP value and the RTP sequence number with each other. For example, the application subsystem 720 of the first earbud 701 may provide its initial TTP value and RTP sequence number to the application subsystem 760 of the second earbud 702 using the ACL link 770 between the first earbud 701 and the second earbud 702. Specifically, in some aspects, the signaling circuit 722 of the first earbud 701 can transmit an initialization message to the application subsystem 760 of the second earbud 702 via the ACL link 770. The initialization message can initialize the operating state of the second earbud 702 to be the same as (or similar to) the operating state of the first earbud 701.
[0108] In some implementations where the first earbud 701 and the second earbud 702 are associated with an AP (such as the same AP associated with the wireless device), the timing synchronization function (TSF) of the AP can be used as a reference for matching the audio stream rates output from the first earbud 701 and the second earbud 702 and aligning them in time with each other. In other implementations, the Bluetooth piconet clock (CLK) shared between the first earbud 701 and the second earbud 702 is used as a reference for matching the audio stream rates output from the first earbud 701 and the second earbud 702 and aligning them in time with each other. BT PNET ) can be used as a reference clock for matching the rates of their respective audio streams and aligning them in time with each other. Using the Bluetooth piconet clock for rate matching and packet alignment, rather than the TSF of the associated AP, can allow the first earbud 701 and the second earbud 702 to be associated with different APs.
[0109] As discussed above, the first earbud 701 may determine or obtain initial values of the TTP and RTP sequence number, and then provide these initial values to the second earbud 702. Thereafter, the first earbud 701 and the second earbud 702 may use the Bluetooth piconet clock and / or the TSF of the associated AP to synchronize their local clocks with each other, e.g., such that the TTP value and RTP sequence number associated with the first audio stream output from the first earbud 701 and the TTP value and RTP sequence number associated with the second audio stream output from the second earbud 702 are synchronized. In this way, the sampling rate conversion ratio applied to the first audio sample by the ASRC 712 of the first earbud 701 may be synchronized with the sampling rate conversion ratio applied to the second audio sample by the ASRC 752 of the second earbud 702, e.g., such that.
[0110] The RTP encoder 714 may also obtain the SSRC value specified by the application subsystem 720. In some aspects, the TTP value used in the first earbud 701 may reference the local audio clock and may track the wall clock. Similarly, the TTP value used in the second earbud 702 may reference the local audio clock and may track the wall clock.
[0111] Figure 8 A timing diagram depicting an example wireless communication 800 supporting Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. In some implementations, the wireless communication 800 can be performed between an access point (AP) 810, a wireless device 820, and a peripheral device 830. The AP 810 can be any suitable access point or access terminal that can operate a basic service set (BSS) on a wireless medium. The wireless device 820 can be Figure 1 Central device 102, Figure 2 The wireless device 200 or Figure 6 The peripheral device 830 may be an example of a wireless device 600. Figure 1 The peripheral device 108 or 112, FIG. 4A to FIG. 4B Earplugs 420, FIG. 5A to FIG. 5B Earplugs 520 or Figure 7 An example of a peripheral device 700 is shown.
[0112] The wireless device 820 may operate as a STA that can send and receive data to and from the AP 810 through one or more wireless channels associated with the BSS, and also as a soft AP that can send and receive data to and from the peripheral device 830 through at least some of the wireless channels associated with the BSS. In some instances, the wireless device 820 and the peripheral device 830 may be paired with each other via a Bluetooth or BLE connection, and the wireless device 820 and the peripheral device 830 may exchange data and other information through the Bluetooth or BLE connection via a Bluetooth or BLE communication protocol. In various aspects, the wireless device 820 and the peripheral device 830 may exchange Bluetooth encoded data (such as streaming audio or streaming video) with each other by encapsulating the Bluetooth encoded data into a WLAN-compliant data packet (such as a PPDU) that can be sent to each other through a wireless channel or link. For example, in some instances, the peripheral device 830 may embed audio samples associated with streaming audio into a real-time transport protocol (RTP) packet, which may be carried in one or more WLAN-compliant PPDUs over a wireless link. In some aspects, the wireless link may be one or more of a P2P link, a TDLS link, a Wi-Fi Direct link, or a neighborhood area network (NAN) link.
[0113] The wireless link 850 may be a channel or communication link in at least one of the 2.4 GHz band, the 5 GHz band, or the 6 GHz band. The ability to stream media from the peripheral device 830 to the wireless device 820 in real time using a channel or link located in a different band may allow the peripheral device 830 to avoid congestion and interference associated with the 2.4 GHz band. For example, when the latency associated with a Wi-Fi channel in the 2.4 GHz band is relatively poor (e.g., due to interference from other Wi-Fi devices and / or Bluetooth devices operating in the 2.4 GHz band), the wireless link may be configured in the less crowded 6 GHz band. In this way, the peripheral device 830 may stream media to the wireless device 820 via a Wi-Fi channel or link in the 6 GHz band, thereby avoiding interference and congestion associated with the 2.4 GHz band.
[0114] In some implementations, the wireless device 820 and the peripheral device 830 may be associated with latency-sensitive services that have strict end-to-end latency requirements, throughput requirements, and timing requirements. Example latency-sensitive services may include, but are not limited to, real-time audio streaming, real-time video streaming, real-time gaming applications, video communications, and services associated with augmented reality (AR) and virtual reality (VR) applications (collectively referred to as extended reality (XR) applications). In some instances, the STA of the wireless device 820 may be a member of a target wake time (TWT) operation established or scheduled by the AP 810. For simplicity, only one STA is shown as Figure 8 In some other examples, the TWT operation may include Figure 8 Fewer or more STAs as depicted in the examples.
[0115] In some specific implementations, the AP 810 may establish a TWT operation for a STA associated with a delay-sensitive service. The TWT operation may include one or more TWT service periods (SPs) allocated for communications associated with members of the TWT operation. The AP 810 may announce the TWT operation by including a TWT element in a beacon frame broadcast to its associated STAs. The TWT element may indicate the presence of a TWT operation, may indicate that the TWT operation is associated with a delay-sensitive service, and may indicate one or more parameters for the TWT operation. For example, the TWT parameter may indicate a duration associated with a corresponding TWT SP, may indicate a time period of a TWT wake-up interval, may indicate whether the TWT operation is a broadcast TWT operation or an individual TWT operation, and may indicate a target wake-up time. The TWT element may also indicate an operating channel and other TWT information associated with the scheduled TWT SP.
[0116] In other specific implementations, the STA of the wireless device 820 may request the AP 810 to schedule one or more TWT SPs for delay-sensitive traffic between the soft AP of the wireless device 820 and the peripheral device 830. In some instances, before the STA of the wireless device 820 transmits a TWT request to the AP 810, the soft AP of the wireless device 820 may request the peripheral device 830 to start streaming audio to the wireless device 820 over the wireless link 850.
[0117] exist Figure 8 In the example of FIG. 1 , the soft AP of the wireless device 820 transmits a start message to the peripheral device 830 at time t0. The start message may indicate that the peripheral device 830 will start streaming audio to the wireless device 820 over the wireless link 850 at a specified time. In some instances, the specified time may occur before the TWT SP starts. The peripheral device 830 synchronizes a pair of earbuds with each other (such as Figure 7 In some aspects, the required amount of time may correspond to the audio samples from the first earbud and the second earbud of the peripheral device 830 being rate matched and time aligned with each other (for simplicity, the earbuds are not aligned in time). Figure 8 ).
[0118] At time t1, the STA of the wireless device 820 sends a TWT request frame to the AP 810 over the wireless medium. The TWT request frame may request the AP 810 to schedule one or more TWT SPs on the wireless medium for streaming audio from the peripheral device 830 to the soft AP of the wireless device 820. The TWT request frame may include a TWT element indicating one or more proposed TWT parameters for the requested TWT SP. In some aspects, the TWT request frame may indicate the MAC addresses of the STA, the soft AP, and the peripheral device 830.
[0119] AP 810 receives the TWT request frame, decodes the proposed TWT parameters, and determines whether to accept, modify, or reject the proposed TWT parameters. Figure 8 In the example of , AP 810 accepts the proposed TWT parameters and sends a TWT response frame to the STA at time t2. The TWT response frame may confirm the TWT parameters, may indicate that the STA is a member of the TWT operation, and may include a schedule indicating one or more times when the peripheral device 830 is to send a media stream. The STA receives the TWT response frame and remains awake to receive a trigger frame from the AP 810.
[0120] At time t3, AP 810 obtains a TXOP on the wireless medium and sends a first trigger frame to the STA. The transmission of the first trigger frame at time t3 may indicate the start of the first TWT SP. In some instances, AP 810 may use a channel sensing operation (such as a clear channel assessment (CCA)) to compete for channel access before obtaining a TXOP. For example, AP 810 may sense that the wireless medium is idle for a period of time (such as a PIFS duration) before attempting to obtain channel access.
[0121] The first trigger frame may be any suitable trigger frame that may allocate wireless resources to the STA of the wireless device 820 for delay-sensitive communications between the peripheral device 830 and the soft AP of the wireless device 820. In some instances, the first trigger frame may include a duration field that is set to a time period during which the wireless medium is reserved for delay-sensitive traffic, e.g., such that non-member devices receiving the trigger frame set their respective NAVs to the time period indicated by the trigger frame (and thus do not attempt to gain channel access during the indicated time period). In some aspects, the first trigger frame may include, for example, the MAC addresses of the soft AP of the wireless device 820 and the peripheral device 830, such that the soft AP and the peripheral device 830 do not set their respective NAVs to the indicated time period.
[0122] The first trigger frame may identify the STA of the wireless device 820 as a participant in the first TWT SP (such as by carrying the AID of the STA), and may allocate wireless resources (such as one or more RUs) for delay-sensitive services associated with the participants in the first TWT SP. In some instances, the first trigger frame may be a basic trigger frame. In other instances, the first trigger frame may be a multi-user (MU) request to transmit (RTS) (MU-RTS) trigger frame, which is smaller than the basic trigger frame (and therefore has a shorter transmission time). In some other instances, the first trigger frame may be a MU-RTS TXOP sharing (TXS) trigger frame, which allows the AP 810 to share a portion of the TXOP with one of the participants in the first TWT SP. In some examples, the MU-RTS TXS trigger frame may include a TXOP sharing mode subfield indicating a TXOP sharing mode for delay-sensitive communications between the peripheral device 830 and the soft AP of the wireless device 820. In some other instances, the trigger frame may be another type of trigger frame.
[0123] The STA of the wireless device 820 receives the first trigger frame between time t3 and t4, and determines that the STA is identified by the first trigger frame. The STA can confirm the reception of the first trigger frame by sending a CTS frame to the AP 810 at time t4. In some instances, the CTS frame includes the MAC addresses of the soft AP and the peripheral device 830, for example, so that the soft AP and the peripheral device 830 do not set their respective NAVs to the time period indicated in the duration field of the CTS frame. In this way, the CTS frame prevents the peripheral device 830 from entering a power saving mode or a sleep state after detecting the CTS frame, thereby ensuring that the peripheral device 830 remains awake to stream media to the wireless device 820 via the link 850 during at least a portion of the first TWT SP.
[0124] At time t5, the soft AP of wireless device 820 sends a trigger frame to peripheral device 830 via wireless link 850. The trigger frame, which may be a basic trigger frame, requests streaming audio from peripheral device 830. Peripheral device 830 receives the trigger frame between time t5 and t6 and determines that wireless link 850 is available. Peripheral device 830 sends the audio stream to wireless device 820 via wireless link 850 between time t6 and t7.
[0125] In some implementations, the peripheral device 830 may be Figure 7 An example of a peripheral device 700 may include a pair of earbuds, such as Figure 7 As discussed, the first earbud 701 can transmit the first audio stream to the wireless device 820 via the wireless link 850 while the second earbud 702 transmits the second audio stream to the wireless device 820 via the wireless link 850. In some examples, the first audio stream and the second audio stream can represent the right / left channels of a stereo audio stream, and the sound quality (and user experience) can depend on the degree to which the first audio stream and the second audio stream are rate matched and time aligned with each other.
[0126] Also refer to Figure 7, the first earbud 701 may include a microphone that samples audio received at or near the first earbud 701, and the second earbud 702 may include a microphone that samples audio received at or near the second earbud 702. The first audio samples provided by the first earbud 701 may be rate adjusted by the ASRC 712 using a sampling rate conversion ratio based on the feedback signal 715. The second audio samples provided by the second earbud 702 may be rate adjusted by the ASRC 752 using a sampling rate conversion ratio based on the feedback signal 755. In some examples, the peripheral device may use the TTP value, the RTP sequence number, a timing reference (such as a wall clock or TSF), and signaling between the first earbud 701 and the second earbud 702 to rate match and align data packets associated with the first audio stream (such as the first RTP packets) and corresponding data packets associated with the second audio stream (such as the second RTP packets).
[0127] The soft AP of the wireless device 820 receives the first audio stream and the second audio stream from the peripheral device 830 between time t6 and t7. In some examples, the wireless device 820 can determine whether the first audio stream and the second audio stream are rate matched and aligned in time with each other based on the corresponding TTP values and RTP sequence numbers of the first audio stream and the second audio stream. When the first audio sample is rate matched with the second audio sample and aligned in time with each other, the first audio stream and the second audio stream can together form a stereo audio stream that can be played for the user or sent to another device without additional rate matching or audio sample alignment.
[0128] At time t8, the soft AP of the wireless device 820 confirms the reception of the first audio stream and the second audio stream by sending an ACK frame to the peripheral device 830. At time t9, the first TWT SP ends, and then times t9 and t 10 As discussed, the TWT SI may correspond to a silent time or sleep period during which one or both of the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state to reduce power consumption. In some examples, the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state before the second TWT SP begins at time t 10 Wake up from the corresponding power saving mode or hibernation state.
[0129] At time t 10, AP 810 sends a second trigger frame over the wireless medium. As discussed, the trigger frame can be any suitable trigger frame that can allocate wireless resources to one or more wireless devices that are members of the TWT operation and are associated with delay-sensitive services. In some instances, the second trigger frame can be one of a basic trigger frame, a MU-RTS trigger frame, or a MU-RTS TXS trigger frame. In other instances, the second trigger frame can be another type of trigger frame.
[0130] The STA of the wireless device 820 at time t 10 and t 11 STA receives the second trigger frame at time t and determines that the STA is identified by the second trigger frame. 11 A CTS frame is sent to AP 810 to acknowledge receipt of the second trigger frame. In some instances, the CTS frame includes the MAC addresses of the soft AP and the peripheral device 830, such that the soft AP and the peripheral device 830 do not set their respective NAVs to the time period indicated in the duration field of the CTS frame. In this way, the CTS frame can prevent the peripheral device 830 from entering a power saving mode or a sleep state after detecting the CTS frame, thereby ensuring that the peripheral device 830 remains awake to stream media to the wireless device 820 over the link 850 during at least a portion of the second TWT SP.
[0131] At time t 12 , the soft AP of wireless device 820 sends a trigger frame to peripheral device 830 via wireless link 850. The trigger frame (which may be a basic trigger frame) requests streaming audio from peripheral device 830. Peripheral device 830 at time t 12 and t 13 The peripheral device 830 receives a trigger frame between time t and determines that the wireless link 850 is available. 13 and t 14 The audio stream is sent to the wireless device 820 via the wireless link 850.
[0132] The soft AP of wireless device 820 at time t 13 and t 14 The wireless device 820 may receive a first audio stream and a second audio stream from the peripheral device 830. In some examples, the wireless device 820 may determine whether the first audio stream and the second audio stream are rate matched and aligned in time with each other based on the respective TTP values and RTP sequence numbers of the first audio stream and the second audio stream. As discussed, when the first audio sample is rate matched with the second audio sample and aligned in time with each other, the first audio stream and the second audio stream may together form a stereo audio stream that can be played for a user or sent to another device without additional rate matching or audio sample alignment.
[0133] At time t15 , the soft AP of the wireless device 820 confirms the reception of the first audio stream and the second audio stream by sending an ACK frame to the peripheral device 830. 16 , the second TWT SP ends, and is followed by a TWT SI corresponding to a silent time or sleep period, during which one or both of the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state to reduce power consumption. For zero or more TWT SPs, Figure 8 Communications associated with the TWT operations depicted in 800 may continue as described above.
[0134] Fig. 9 A timing diagram depicting another example wireless communication 900 supporting Bluetooth audio streaming to a wireless device over a Wi-Fi link according to various aspects of the present disclosure is shown. In some implementations, the wireless communication 900 may be performed in reference to Figure 8 The wireless communication 900 is similar to that performed between the AP 810, the wireless device 820 and the peripheral device 830. Figure 8 Wireless communication 800, in addition to Fig. 9 The TWT operation 900 depicted in the example of is a restricted TWT (r-TWT) operation, such as defined in 802.11be and later amendments to the IEEE 802.11 series of wireless communication standards.
[0135] Restricted TWT operation allows the AP 810 to establish one or more r-TWT SPs that can be used to provide more predictable latency, reduced worst-case latency, reduced jitter, and higher reliability for latency-sensitive services. For example, all STAs supporting restricted TWT operation are TXOP holders outside of any r-TWT SP, and they are not members that end their corresponding TXOPs prior to the start of the r-TWT SP. In some aspects, membership in the r-TWT SP may be reserved specifically for STAs associated with latency-sensitive services.
[0136] exist Fig. 9 In the example of , the streaming media associated with the peripheral device 830 is a delay-sensitive service, and the STA of the wireless device 820 is a member of the r-TWT operation. Fig. 9 In the example of FIG. 8 , the soft AP of the wireless device 820 transmits a start message to the peripheral device 830 at time t0. Figure 8 As discussed above, the start message may indicate that the peripheral device 830 will begin streaming audio to the wireless device 820 over the wireless link 850 at a specified time.
[0137] At time t1, the STA of the wireless device 820 sends a TWT request frame to the AP 810 over the wireless medium. The TWT request frame may request the AP 810 to schedule one or more r-TWT SPs on the wireless medium for delay-sensitive services associated with the peripheral device 830. The TWT request frame may include a TWT element indicating one or more proposed TWT parameters for the requested TWT SP. In some aspects, the TWT request frame may indicate the MAC addresses of the STA, the soft AP, and the peripheral device 830.
[0138] AP 810 receives the TWT request frame, decodes the proposed TWT parameters, and determines whether to accept, modify, or reject the proposed TWT parameters. Fig. 9 In the example of , AP 810 accepts the proposed TWT parameters and sends a TWT response frame to the STA at time t2. The TWT response frame may confirm the TWT parameters, may indicate that the STA is a member of the TWT operation, and may include a schedule indicating one or more times when the peripheral device 830 is to send a media stream. The STA receives the TWT response frame and remains awake to receive a trigger frame from the AP 810.
[0139] At time t3, corresponding to the start of the first r-TWT SP, the AP 810 sends a first MU-RTS TXS trigger frame to the STA. The first MU-RTS TXS trigger frame may allocate a portion of the TXOP obtained by the AP 810 to the STA of the wireless device 820 for delay-sensitive communication. In some instances, the first MU-RTS TXS trigger frame may include a duration field, such as a time period set to a TXOP sharing mode, so that other wireless devices receiving the first MU-RTS TXS trigger frame set their respective NAVs to the indicated time period (and therefore do not attempt to gain channel access during the indicated time period). In some aspects, the first MU-RTS TXS trigger frame may include, for example, the MAC addresses of the soft AP and the peripheral device 830 of the wireless device 820, so that the soft AP and the peripheral device 830 do not set their respective NAVs to the indicated time period.
[0140] The STA of the wireless device 820 receives the first MU-RTS TXS trigger frame between time t3 and t4, and confirms receipt of the first MU-RTS TXS trigger frame by sending a CTS frame to the AP 810 at time t4. In some instances, the CTS frame includes the MAC addresses of the soft AP and the peripheral device 830, for example, so that the soft AP and the peripheral device 830 do not set their respective NAVs to the time period indicated in the duration field of the CTS frame. In this way, the CTS frame prevents the peripheral device 830 from entering a power save mode or a sleep state after detecting the CTS frame, thereby ensuring that the peripheral device 830 remains awake to stream media to the wireless device 820 over the link 850 during the TXOP sharing mode associated with the first r-TWT SP.
[0141] At time t5, the soft AP of wireless device 820 sends a trigger frame to peripheral device 830 via wireless link 850. The trigger frame, which may be a basic trigger frame, requests streaming audio from peripheral device 830. Peripheral device 830 receives the trigger frame and sends an audio stream to wireless device 820 via wireless link 850 between time t6 and t7.
[0142] The wireless device 820 receives the first audio stream and the second audio stream from the peripheral device 830, and can determine whether the first audio stream and the second audio stream are rate matched and aligned with each other in time based on their respective TTP values and RTP sequence numbers. When the first audio sample is rate matched with the second audio sample and aligned with each other in time, the first audio stream and the second audio stream can form a stereo audio stream that can be played for the user or sent to another device without additional rate matching or audio sample alignment.
[0143] At time t8, the soft AP of the wireless device 820 acknowledges the reception of the first audio stream and the second audio stream by sending an ACK frame to the peripheral device 830. At time t9, the first r-TWT SP ends, and then times t9 and t 10 As discussed, the TWT SI may correspond to a silent time or sleep period during which one or both of the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state to reduce power consumption. In some examples, the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state before the second r-TWT SP begins at time t 10 Wake up from the corresponding power saving mode or hibernation state.
[0144] At time t 10 , AP 810 sends a second MU-RTS TXS trigger frame via the wireless medium. The STA of wireless device 820 at time t 10 and t11 The second MU-RTS TXS trigger frame is received between and 11 A CTS frame is sent to AP 810 to acknowledge receipt of the second MU-RTS TXS trigger frame. In some instances, the CTS frame includes the MAC addresses of the soft AP and the peripheral device 830, such that the soft AP and the peripheral device 830 do not set their respective NAVs to the time period indicated in the duration field of the CTS frame. In this way, the CTS frame can prevent the peripheral device 830 from entering a power save mode or a sleep state after detecting the CTS frame, thereby ensuring that the peripheral device 830 remains awake to stream media to the wireless device 820 over the link 850 during the TXOP sharing mode associated with the second r-TWT SP.
[0145] At time t 12 , the soft AP of wireless device 820 sends a trigger frame to peripheral device 830 via wireless link 850. The trigger frame (which may be a basic trigger frame) requests streaming audio from peripheral device 830. Peripheral device 830 at time t 12 With t 13 The trigger frame is received between 13 With t 14 The audio stream is sent to the wireless device 820 via the wireless link 850.
[0146] The soft AP of the wireless device 820 receives the first audio stream and the second audio stream from the peripheral device 830, and can determine whether the first audio stream and the second audio stream are rate matched and aligned with each other in time based on their respective TTP values and RTP sequence numbers. As discussed, when the first audio sample is rate matched with the second audio sample and aligned with each other in time, the first audio stream and the second audio stream can together form a stereo audio stream that can be played for the user or sent to another device without additional rate matching or audio sample alignment.
[0147] At time t 15 , the soft AP of the wireless device 820 confirms the reception of the first audio stream and the second audio stream by sending an ACK frame to the peripheral device 830. 16 , the second r-TWT SP ends and is followed by a TWT SI corresponding to a silent time or sleep period, during which one or both of the wireless device 820 and the peripheral device 830 may enter a power saving mode or sleep state to reduce power consumption. Fig. 9 Communications associated with the r-TWT operations depicted in 900 may continue as described above for zero or more r-TWT SPs.
[0148] Fig.10A flow chart illustrating example operations 1000 for supporting wireless communications of Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. Operations 1000 may be performed by a first peripheral device in a pair of peripheral devices associated with the wireless device. In some implementations, the first peripheral device may be Figure 1 Earplugs 112, FIG. 4A to FIG. 4B one of the earplugs 420, FIG. 5A to FIG. 5B One of the earplugs 520 or Figure 7 The second peripheral device may be a specific implementation of the first earplug 701. Figure 1 Earplugs 112, FIG. 4A to FIG. 4B Another earplug 420, FIG. 5A to FIG. 5B Another earplug 520 or Figure 7 In some examples, the peripheral device may have a Bluetooth connection with the wireless device and may be further configured to send and receive streaming media to and from the wireless device over a non-Bluetooth wireless link using the BToIP protocol disclosed herein. In addition, in various aspects, the wireless device may be configured to operate as a wireless station (STA) associated with an access point (AP) operating on a Wi-Fi channel, while also operating as a soft AP associated with a peripheral device on a Wi-Fi channel or link.
[0149] For example, at 1002, a first peripheral device may receive a message from a wireless device, which commands the pair of peripheral devices to start transmitting streaming media to the wireless device via a wireless link. The streaming media may include a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device in the pair of peripheral devices. At 1004, the first peripheral device may select a value of a play time (TTP) and a sequence number associated with the first audio stream. At 1006, the first peripheral device may synchronize the selected values of the TTP and sequence number associated with the first audio stream and the TTP and sequence number associated with the second audio stream. At 1008, the first peripheral device may convert the sampling rate of the audio data associated with the first audio stream using a sampling rate conversion ratio based on the selected values of the TTP and sequence number. At 1010, the first peripheral device may encapsulate the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based at least in part on the selected values of the TTP and sequence number. At 1012, the first peripheral device may send a plurality of first RTP packets to the wireless device over the wireless link while sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
[0150] In some implementations, the first peripheral device may be a primary earbud, the second peripheral device may be an auxiliary earbud, and the first audio stream and the second audio stream together form stereo audio. In some instances, the wireless link may be at least one of a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighbor area network (NAN). In some aspects, the wireless link may be a wireless channel in a 2.4 GHz band, a 5 GHz band, or a 6 GHz band.
[0151] In various aspects, each of the plurality of first RTP packets includes an RTP header indicating the TTP associated with the corresponding RTP packet, the sequence number associated with the corresponding RTP packet, and a synchronization source (SSRC) identifier corresponding to the first peripheral device. Similarly, each of the plurality of second RTP packets includes an RTP header indicating the TTP associated with the corresponding RTP packet, the sequence number associated with the corresponding RTP packet, and an SSRC identifier corresponding to the second peripheral device. In some instances, the sequence number and SSRC identifier carried in the streaming audio together indicate that the audio data carried in the first audio stream is rate-matched and time-aligned with the audio data carried in the second audio stream.
[0152] In some implementations, the first RTP packet corresponds to the first audio stream and carries audio samples recorded by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio samples recorded by a microphone of the second peripheral device. In some instances, the audio samples carried in the first RTP packet are rate matched with the audio samples carried in the second RTP packet based at least in part on the synchronized TTP and sequence numbers.
[0153] In some instances, streaming media is a latency-sensitive service, and RTP packets of a first audio stream and a second audio stream are scheduled for transmission based on a restricted TWT (r-TWT) operation. In some implementations, the transmission of streaming media may be requested via a multi-user (MU) request to transmit (RTS) TXOP sharing (TXS) trigger frame. In other instances, the transmission of streaming media may be requested by a MU-RTS trigger frame.
[0154] Fig.11 A flow chart illustrating example operations 1100 for supporting wireless communications of Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. Operations 1100 may be referred to as Fig.10As discussed, in some instances, the peripheral device may have a Bluetooth connection with the wireless device and may also be configured to send and receive streaming media to and from the wireless device over a non-Bluetooth wireless link using the BToIP protocol disclosed herein.
[0155] In some examples, operation 1100 may be performed in Fig.10 In one specific implementation of synchronizing the selected values of the TTP and the sequence number at 1006 in operation 1000 of . For example, at 1102, the first peripheral device can transmit a message to the second peripheral device via an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device. The message can be configured to initialize a timing state or a clock state of the second peripheral device (e.g., to the same initial timing state or clock state of the first peripheral device). In some examples, the message can be configured to adjust a sampling rate conversion ratio used by the second peripheral device to convert the rate of audio samples associated with the second audio stream.
[0156] Fig.12 A flow chart illustrating example operations 1200 for supporting wireless communications of Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. Operations 1200 may be referred to as Fig.10 As discussed, in some instances, the peripheral device may have a Bluetooth connection with the wireless device and may also be configured to send and receive streaming media to and from the wireless device over a non-Bluetooth wireless link using the BToIP protocol disclosed herein.
[0157] In some examples, operation 1200 may be performed at Fig.11 The operation 1100 of is performed after transmitting the message at 1102. For example, at 1202, the first peripheral device may disable the ACL link after transmitting the message to the second peripheral device. In some examples, the ACL link may be allowed to reduce the rate after the second peripheral device receives the message, which may reduce power consumption of one or both of the first peripheral device and the second peripheral device. In some aspects, when the ACL link is inactive, the values of the TTP and the sequence number may be adjusted based on the local clock of the first peripheral device rather than the shared clock.
[0158] Fig.13 A flow chart illustrating example operations 1300 for supporting wireless communications of Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. Operations 1300 may be referred to as Fig.10As discussed, in some instances, the peripheral device may have a Bluetooth connection with the wireless device and may also be configured to send and receive streaming media to and from the wireless device over a non-Bluetooth wireless link using the BToIP protocol disclosed herein.
[0159] In some examples, it can be combined with Fig.10 Operation 1300 may be performed based on operation 1000 of the first peripheral device. For example, at 1302, the first peripheral device may adjust the selected values of the TTP and sequence number associated with the first audio stream based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated. That is, instead of using a local clock on the first peripheral device as a reference clock indicating an offset or drift of the TTP value and the sequence number relative to a wall clock, the first peripheral device may use the same clock as the second peripheral device to determine whether the TTP and / or the sequence number should be adjusted.
[0160] Fig.14 A flow chart illustrating example operations 1400 for supporting wireless communications of Bluetooth audio streaming to a wireless device over a Wi-Fi link in accordance with various aspects of the present disclosure is shown. Operations 1400 may be referred to as Fig.10 As discussed, in some instances, the peripheral device may have a Bluetooth connection with the wireless device and may also be configured to send and receive streaming media to and from the wireless device over a non-Bluetooth wireless link using the BToIP protocol disclosed herein.
[0161] In some examples, it can be combined with Fig.10 Operation 1400 may be performed by following operation 1000. For example, at 1402, the first peripheral device may obtain a value of a Bluetooth wall clock on the first peripheral device. At 1404, the first peripheral device may adjust the selected values of the TTP and the sequence number based on the obtained value of the Bluetooth wall clock. In this way, the first peripheral device may synchronize the TTP and / or the sequence number associated with the first audio stream with an independent Bluetooth wall clock. In some instances, the first peripheral device may synchronize its Bluetooth wall clock with the Bluetooth wall clock of the second peripheral device, and the second peripheral device may synchronize the TTP and / or the sequence number associated with the second audio stream with the Bluetooth wall clock of the second peripheral device (which is synchronized with the Bluetooth wall clock of the first peripheral device).
[0162] Fig.151500 is a conceptual data flow diagram illustrating data flow between different devices and / or components of an example device 1502. In some implementations, the device can be a first peripheral device in a pair of peripheral devices connected to a WLAN device 1550 via a Bluetooth connection. The WLAN device 1550 can operate as a wireless station (STA) associated with an access point (AP) operating on a Wi-Fi channel, while also operating as a soft AP associated with a peripheral device through a Wi-Fi channel or link. The device 1502 includes a receiving component 1504 that receives messages and frames from the WLAN device 1550. The device 1502 also includes an application processor 1506, an audio subsystem 1508, a WLAN subsystem 1510, a Bluetooth subsystem 1512, a microphone 1514, and a transmitting component 1516.
[0163] Microphone 1514 records or samples the audio near device 1502, and forwards the obtained audio samples to application processor 1506, which applies Bluetooth profile to the audio samples. Audio subsystem 1508 encodes the audio samples and routes the encoded audio samples to WLAN subsystem 1510. WLAN subsystem 1510 embeds the encoded audio data in RTP packets, and encapsulates the RTP packets in one or more data packets that conform to IEEE 802.11. Transmitting component 1516 can send data packets carrying audio samples to WLAN device 1550 through Wi-Fi channels or links based on the BToIP protocol described herein. Bluetooth subsystem 1512 can establish Bluetooth connection with WLAN device 1550 and / or other peripheral devices, and can facilitate sending Bluetooth packets to WLAN device 1550 and / or other peripheral devices through the established Bluetooth connection. Transmitting component 1516 can send Bluetooth packets to WLAN device 1550 and / or other peripheral devices. In some other examples, various aspects of the transmission component 1516 can be integrated within each of the WLAN subsystem 1510 and the Bluetooth subsystem 1512 .
[0164] The apparatus may include executing Figures 10 to 14 Each box in the flowchart of the algorithm is an additional component. Therefore, Figures 10 to 14 Each block in the flowchart of can be performed by a component, and the device may include one or more of those components. These components can be one or more hardware components that are specifically configured to perform the process / algorithm, implemented by a processor configured to perform the process / algorithm, stored in a computer-readable medium for implementation by a processor, or some combination thereof.
[0165] Fig.161600 is a diagram illustrating an example of a hardware implementation for a device 1502' employing a processing system 1614. The processing system 1614 may be implemented with a bus architecture, which is generally represented by a bus 1624. The bus 1624 may include any number of interconnecting buses and bridges, depending on the specific application of the processing system 1614 and the overall design constraints. The bus 1624 links together various circuits, including one or more processors and / or hardware components represented by the processor 1604, components 1504, 1506, 1508, 1510, 1512, 1514, and 1516, and the computer-readable medium / memory 1606. The bus 1624 may also link various other circuits, such as timing sources, peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further.
[0166] The processing system 1614 may be coupled to the transceiver 1610. The transceiver 1610 is coupled to one or more antennas 1620. The transceiver 1610 provides a means for communicating with various other devices over a wireless medium. The transceiver 1610 receives signals from the one or more antennas 1620, extracts information from the received signals, and provides the extracted information to the processing system 1614 (specifically, the receiving component 1504). In addition, the transceiver 1610 receives information from the processing system 1614 (specifically, the transmitting component 1516), and generates signals to be applied to the one or more antennas 1620 based on the received information. The processing system 1614 includes a processor 1604, which is coupled to a computer-readable medium / memory 1606. The processor 1604 is responsible for general processing, including executing software stored on the computer-readable medium / memory 1606. The software, when executed by the processor 1604, causes the processing system 1614 to perform the various functions described above for any particular device. The computer-readable medium / memory 1606 may also be used to store data that is manipulated by the processor 1604 when executing software. The processing system 1614 also includes at least one of the components 1504, 1506, 1508, 1510, 1512, 1514, and 1516. These components may be software components that run in the processor 1604, reside / stored in the computer-readable medium / memory 1606, one or more hardware components coupled to the processor 1604, or some combination thereof.
[0167] In certain configurations, the device 1502 / 1502' for wireless communication may include means for all of the device limitations described herein. The aforementioned means may be the processor 202, the radio component 230, the MMU 240, the WLAN controller 250, the Bluetooth controller 252, the WWAN controller 256, one or more of the aforementioned components of the device 1502, and / or the processing system 1614 of the device 1502' configured to perform the functions recited by the aforementioned means.
[0168] In one configuration, a device 1502 / 1502' for wireless communication includes a device for receiving a message from a wireless device, the message commanding a pair of peripheral devices to begin transmitting streaming media to the wireless device via a wireless link, the streaming media including a first audio stream associated with a first peripheral device and a second audio stream associated with a second peripheral device in the pair of peripheral devices; a device for selecting a value of a time to play (TTP) and a sequence number associated with the first audio stream; a device for synchronizing the selected values of the TTP and sequence number associated with the first audio stream and the TTP and sequence number associated with the second audio stream; a device for converting a sampling rate of audio data associated with the first audio stream using a sampling rate conversion ratio based on the selected values of the TTP and sequence number; a device for encapsulating the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based on the selected values of the TTP and sequence number; and a device for sending a plurality of first RTP packets to the wireless device via the wireless link while sending a plurality of second RTP packets from the second peripheral device to the wireless device via the wireless link. The aforementioned means may be one or more of the aforementioned components of the device 1502 and / or the processing system 1614 of the device 1502' configured to perform the functions recited by the aforementioned means. As described above, the processing system 1614 may include Figure 2 processor 202, memory 206, flash memory 210 and / or ROM 208.
[0169] Specific implementation examples are described in the following numbered clauses:
[0170] 1. A method for wireless communication by a first peripheral device in a pair of peripheral devices, the method comprising:
[0171] receiving a message from a wireless device, the message commanding the pair of peripheral devices to begin transmitting streaming media to the wireless device over a wireless link, the streaming media including a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device of the pair of peripheral devices;
[0172] selecting values for a time to play (TTP) and a sequence number associated with the first audio stream;
[0173] synchronizing the selected values of the TTP and the sequence number associated with the first audio stream with the TTP and the sequence number associated with the second audio stream;
[0174] converting the sampling rate of audio data associated with the first audio stream using a sampling rate conversion ratio based on the TTP and selected values of the sequence number;
[0175] encapsulating the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based on the TTP and the selected values of the sequence number; and
[0176] The plurality of first RTP packets are sent to the wireless device over the wireless link simultaneously with sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
[0177] 2. The method of clause 1, wherein the wireless link comprises at least one of: a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link with a neighbor area network (NAN).
[0178] Associated links.
[0179] 3. A method according to any one or more of clauses 1 to 2, wherein the wireless link comprises a wireless channel in the 2.4 GHz frequency band, the 5 GHz frequency band or the 6 GHz frequency band.
[0180] 4. A method according to any one or more of clauses 1 to 3, wherein the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device.
[0181] 5. The method of clause 4, wherein the audio data carried in the first RTP packet is rate matched to the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
[0182] 6. A method according to any one or more of clauses 1 to 5, wherein the first peripheral device is a primary earbud, the second peripheral device is an auxiliary earbud, and the first audio stream and the second audio stream comprise stereo audio.
[0183] 7. A method according to any one or more of clauses 1 to 6, wherein synchronizing the TTP and the selected value of the sequence number comprises:
[0184] A message is transmitted to the second peripheral device over an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device.
[0185] 8. The method of clause 7, wherein the message is configured to adjust a sampling rate conversion ratio used by the second peripheral device to convert rate of audio data associated with the second audio stream.
[0186] 9. The method according to clause 7, further comprising:
[0187] The ACL link is disabled after transmitting the message to the second peripheral device.
[0188] 10. The method according to any one or more of clauses 1 to 9, further comprising:
[0189] The selected values of the TTP and the sequence number associated with the first audio stream are adjusted based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated.
[0190] 11. The method according to any one or more of clauses 1 to 10, further comprising:
[0191] obtaining a value of a Bluetooth wall clock on the first peripheral device; and
[0192] The selected values of the TTP and the sequence number are adjusted based on the obtained value of the Bluetooth wall clock.
[0193] 12. A method according to any one or more of clauses 1 to 11, wherein each first RTP packet of the plurality of first RTP packets comprises an RTP header indicating:
[0194] said TTP associated with the corresponding RTP packet;
[0195] said sequence number associated with said corresponding RTP packet; and
[0196] A synchronization source (SSRC) identifier corresponding to the first peripheral device.
[0197] 13. A method according to clause 12, wherein the sequence number and the SSRC identifier carried in the streaming media together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
[0198] 14. A method according to any one or more of clauses 1 to 13, wherein the first RTP packet and the second RTP packet are sent to the wireless device during a target wake time (TWT) service period (SP).
[0199] 15. A method according to clause 14, wherein the first audio stream and the second audio stream are delay-sensitive services, and the RTP packets associated with the first audio stream and the second audio stream are scheduled for transmission based on a restricted TWT (r-TWT) operation.
[0200] 16. The method of clause 15, wherein the streaming media is transmitted via a multi-user (MU) request to send (RTS) trigger frame or a MU-RTS TXOP sharing (TXS)
[0201] Trigger frame to request.
[0202] 17. A first peripheral device of a pair of peripheral devices, the first peripheral device comprising:
[0203] one or more radio devices;
[0204] one or more processors coupled to the one or more radios;
[0205] A memory coupled to the one or more processors and storing instructions that are executed by the one or more processors in conjunction with the one or more
[0206] The radio is configured to:
[0207] receiving a message from a wireless device, the message commanding the pair of peripheral devices to begin transmitting streaming media to the wireless device over a wireless link, the streaming media including a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device of the pair of peripheral devices;
[0208] selecting values for a time to play (TTP) and a sequence number associated with the first audio stream;
[0209] synchronizing the selected values of the TTP and the sequence number associated with the first audio stream with the TTP and the sequence number associated with the second audio stream;
[0210] converting the sampling rate of audio data associated with the first audio stream using a sampling rate conversion ratio based on the TTP and selected values of the sequence number;
[0211] encapsulating the rate-converted audio data into a plurality of first real-time transport protocol (RTP) packets based on the TTP and the selected values of the sequence number; and
[0212] The plurality of first RTP packets are sent to the wireless device over the wireless link simultaneously with sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
[0213] 18. A first peripheral device according to clause 17, wherein the wireless link includes at least one of the following: a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighborhood area network (NAN).
[0214] 19. A first peripheral device according to any one or more of clauses 17 to 18, wherein the wireless link comprises a wireless channel in the 2.4 GHz frequency band, the 5 GHz frequency band or the 6 GHz frequency band.
[0215] 20. A first peripheral device according to any one or more of clauses 17 to 19, wherein the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device.
[0216] 21. The first peripheral device of clause 20, wherein the audio data carried in the first RTP packet is rate matched to the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
[0217] 22. A first peripheral device according to any one or more of clauses 17 to 21, wherein the first peripheral device is a primary earbud, the second peripheral device is an auxiliary earbud, and the first audio stream and the second audio stream comprise stereo audio.
[0218] 23. A first peripheral device according to any one or more of clauses 17 to 22, wherein the execution of the instructions for synchronizing the TTP and the selected value of the sequence number comprises:
[0219] A message is transmitted to the second peripheral device over an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device.
[0220] 24. The first peripheral device of clause 23, wherein the message is configured to adjust a sampling rate conversion ratio used by the second peripheral device to convert rate of audio data associated with the second audio stream.
[0221] 25. A first peripheral device according to any one or more of clauses 17 to 24, wherein execution of the instructions is further configured to:
[0222] The selected values of the TTP and the sequence number associated with the first audio stream are adjusted based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated.
[0223] 26. A first peripheral device according to any one or more of clauses 17 to 25, wherein execution of the instructions is further configured to:
[0224] obtaining a value of a Bluetooth wall clock on the first peripheral device; and
[0225] The selected values of the TTP and the sequence number are adjusted based on the obtained value of the Bluetooth wall clock.
[0226] 27. A first peripheral device according to any one or more of clauses 17 to 26, wherein each first RTP packet of the plurality of first RTP packets comprises an RTP header indicating:
[0227] said TTP associated with said corresponding RTP packet;
[0228] said sequence number associated with said corresponding RTP packet; and
[0229] A synchronization source (SSRC) identifier corresponding to the first peripheral device.
[0230] 28. A first peripheral device according to clause 27, wherein the sequence number and the SSRC identifier carried in the streaming media together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
[0231] 29. A first peripheral device according to any one or more of clauses 17 to 28, wherein the RTP packets associated with the first audio stream and the second audio stream are sent to the wireless device during a target wake time (TWT) service period (SP).
[0232] 30. A first peripheral device according to any one or more of clauses 17 to 28, wherein the first audio stream and the second audio stream are delay-sensitive services, and the RTP packets associated with the first audio stream and the second audio stream are scheduled for transmission based on a restricted target wake time (r-TWT) operation.
[0233] As used herein, a phrase referring to "at least one of" or "one or more of" a list of items refers to any combination of those items, including single members. For example, "at least one of a, b, or c" is intended to cover the following possibilities: only a, only b, only c, a combination of a and b, a combination of a and c, a combination of b and c, and a combination of a, b, and c.
[0234] The various illustrative components, logical components, logical blocks, modules, circuits, operations, and algorithmic processes described in conjunction with the specific implementations disclosed herein may be implemented as electronic hardware, firmware, software, or a combination of hardware, firmware, or software, including the structures disclosed in this specification and their structural equivalents. This interchangeability of hardware, firmware, and software has been generally described in terms of functionality and is exemplified in the various illustrative components, blocks, modules, circuits, and processes described herein. Whether such functionality is implemented in hardware, firmware, or software depends on the specific application and the design constraints imposed on the overall system.
[0235] Various modifications to the specific implementations described in this disclosure will be apparent to those of ordinary skill in the art, and the general principles defined herein may be applied to other specific implementations without departing from the spirit or scope of the disclosure. Therefore, the claims are not intended to be limited to the specific implementations shown herein, but are to be accorded the widest scope consistent with the disclosure, the principles and novel features disclosed herein.
[0236] Additionally, various features described in this specification in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, individual features described in the context of a single implementation may also be implemented in multiple implementations individually or in any suitable subcombination. Thus, while features may be described herein as functioning in a particular combination, and even initially claimed as such, one or more features from a claimed combination may in some cases be deleted from the combination, and the claimed combination may be directed to a subcombination or variations of the subcombination.
[0237] Similarly, although operations are depicted in a specific order in the figure, this should not be understood as requiring such operations to be performed in the specific order shown or in a sequential order, or to perform all operations shown to achieve the desired result. In addition, the accompanying drawings may schematically depict one or more example processes in the form of a flow chart or a flow diagram. However, other operations not depicted can be incorporated into the example process schematically illustrated. For example, one or more other operations can be performed before, after, simultaneously or between any operation in the illustrated operation. In some environments, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the specific implementation described herein should not be understood as requiring such separation in all specific implementations, and it should be understood that the described program components and system generally can be integrated together in a single software product or encapsulated in multiple software products.
Claims
1. A method for wireless communication by a first peripheral device in a pair of peripheral devices, the method comprising: receiving a message from a wireless device, the message commanding the pair of peripheral devices to begin transmitting streaming media to the wireless device over a wireless link, the streaming media including a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device of the pair of peripheral devices; selecting values for a time to play (TTP) and a sequence number associated with the first audio stream; synchronizing the selected values of the TTP and the sequence number associated with the first audio stream with the TTP and the sequence number associated with the second audio stream; converting a sampling rate of audio data associated with the first audio stream using a sampling rate conversion ratio based on the TTP and the selected value of the sequence number; encapsulating the rate-converted audio data into a first plurality of Real-time Transport Protocol (RTP) packets based at least in part on the TTP and the selected values of the sequence number; as well as The plurality of first RTP packets are sent to the wireless device over the wireless link simultaneously with sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
2. The method of claim 1, wherein the wireless link comprises at least one of a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighborhood area network (NAN). 3 . The method of claim 1 , wherein the wireless link comprises a wireless channel in a 2.4 GHz frequency band, a 5 GHz frequency band, or a 6 GHz frequency band.
4. The method of claim 1, wherein the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device.
5. The method of claim 4, wherein the audio data carried in the first RTP packet is rate matched with the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
6. The method of claim 1, wherein the first peripheral device is a primary earbud, the second peripheral device is an auxiliary earbud, and the first audio stream and the second audio stream comprise stereo audio.
7. The method of claim 1 , wherein synchronizing the TTP and the selected value of the sequence number comprises: A message is transmitted to the second peripheral device over an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device.
8. The method of claim 7, wherein the message is configured to adjust a sampling rate conversion ratio used by the second peripheral device to convert audio data associated with the second audio stream.
9. The method according to claim 7, further comprising: The ACL link is disabled after transmitting the message to the second peripheral device.
10. The method according to claim 1, further comprising: The selected values of the TTP and the sequence number associated with the first audio stream are adjusted based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated.
11. The method according to claim 1, further comprising: Obtaining a value of a Bluetooth wall clock on the first peripheral device; as well as The selected values of the TTP and the sequence number are adjusted based on the obtained value of the Bluetooth wall clock.
12. The method of claim 1, wherein each of the plurality of first RTP packets comprises an RTP header, the RTP header indicating: said TTP associated with the corresponding RTP packet; said sequence number associated with said corresponding RTP packet; and A synchronization source (SSRC) identifier corresponding to the first peripheral device.
13. The method of claim 12, wherein the sequence number and the SSRC identifier carried in the streaming media together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
14. The method of claim 1, wherein the first RTP packet and the second RTP packet are sent to the wireless device during a target wake time (TWT) service period (SP).
15. The method of claim 14, wherein the first audio stream and the second audio stream are delay-sensitive services, and the RTP packets associated with the first audio stream and the second audio stream are scheduled for transmission based on a restricted TWT (r-TWT) operation.
16. The method of claim 15, wherein the transmission of the streaming media is requested by a multi-user (MU) request to send (RTS) trigger frame or a MU-RTS TXOP share (TXS) trigger frame.
17. A first peripheral device of a pair of peripheral devices, the first peripheral device comprising: one or more radio devices; one or more processors coupled to the one or more radios; a memory coupled to the one or more processors and storing instructions that, when executed by the one or more processors in conjunction with the one or more radio devices, are configured to: receiving a message from a wireless device, the message commanding the pair of peripheral devices to begin transmitting streaming media to the wireless device over a wireless link, the streaming media including a first audio stream associated with the first peripheral device and a second audio stream associated with a second peripheral device of the pair of peripheral devices; selecting values for a time to play (TTP) and a sequence number associated with the first audio stream; synchronizing the selected values of the TTP and the sequence number associated with the first audio stream with the TTP and the sequence number associated with the second audio stream; converting a sampling rate of audio data associated with the first audio stream using a sampling rate conversion ratio based on the TTP and the selected value of the sequence number; encapsulating the rate-converted audio data into a first plurality of Real-time Transport Protocol (RTP) packets based at least in part on the TTP and the selected values of the sequence number; as well as The plurality of first RTP packets are sent to the wireless device over the wireless link simultaneously with sending a plurality of second RTP packets from the second peripheral device to the wireless device over the wireless link.
18. The first peripheral device of claim 17, wherein the wireless link comprises at least one of: a peer-to-peer (P2P) link, a tunnel direct link setup (TDLS) link, a Wi-Fi direct link, a link associated with a group owner (GO), or a link associated with a neighborhood area network (NAN).
19. The first peripheral device of claim 17, wherein the wireless link comprises a wireless channel in a 2.4 GHz frequency band, a 5 GHz frequency band, or a 6 GHz frequency band.
20. The first peripheral device of claim 17, wherein the first RTP packet corresponds to the first audio stream and carries audio data sampled by a microphone of the first peripheral device, and the second RTP packet corresponds to the second audio stream and carries audio data sampled by a microphone of the second peripheral device.
21. The first peripheral device of claim 20, wherein the audio data carried in the first RTP packet is rate matched to the audio data carried in the second RTP packet based on the synchronized TTP and sequence number.
22. The first peripheral device of claim 17, wherein the first peripheral device is a primary earbud, the second peripheral device is an auxiliary earbud, and the first audio stream and the second audio stream comprise stereo audio.
23. The first peripheral device of claim 17, wherein execution of the instructions for synchronizing the TTP and the selected value of the sequence number comprises: A message is transmitted to the second peripheral device over an asynchronous connectionless (ACL) link between the first peripheral device and the second peripheral device, the message being configured to initialize a timing state or a clock state of the second peripheral device.
24. The first peripheral device of claim 23, wherein the message is configured to adjust a sampling rate conversion ratio used by the second peripheral device to convert rate of audio data associated with the second audio stream.
25. The first peripheral device of claim 17, wherein execution of the instructions is further configured to: The selected values of the TTP and the sequence number associated with the first audio stream are adjusted based on at least one of a Bluetooth piconet clock shared by the first peripheral device and the second peripheral device, a timing and synchronization function (TSF) of the wireless device, or a TSF of a wireless access point (AP) with which the wireless device is associated.
26. The first peripheral device of claim 17, wherein execution of the instructions is further configured to: obtaining a value of a Bluetooth wall clock on the first peripheral device; and The selected values of the TTP and the sequence number are adjusted based on the obtained value of the Bluetooth wall clock.
27. The first peripheral device of claim 17, wherein each of the plurality of first RTP packets comprises an RTP header, the RTP header indicating: said TTP associated with the corresponding RTP packet; said sequence number associated with said corresponding RTP packet; and A synchronization source (SSRC) identifier corresponding to the first peripheral device.
28. The first peripheral device of claim 27, wherein the sequence number and the SSRC identifier carried in the streaming media together indicate that the audio data carried in the first audio stream is rate matched and time aligned with the audio data carried in the second audio stream.
29. The first peripheral device of claim 17, wherein the RTP packets associated with the first audio stream and the second audio stream are sent to the wireless device during a target wake time (TWT) service period (SP).
30. The first peripheral device of claim 17, wherein the first audio stream and the second audio stream are delay-sensitive services, and the RTP packets associated with the first audio stream and the second audio stream are scheduled for transmission based on a restricted target wake time (r-TWT) operation.
