IP Library › Granted Patent US 11,985,468
Granted Patent B2
US 11,985,468 · App. 17/613,576 · Granted May 14, 2024

Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium

Inventor: Pei Yang (Shandong, CN)
Assignee: GOERTEK INC.
H04R1/1041G06F13/4282H04R1/1025G06F2213/0002H04R2420/07
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,985,468
App. No.
17/613,576
Granted
May 14, 2024
Kind
B2
Abstract

Disclosed are a method and a device for controlling a serial interface of a wireless earphone, a wireless earphone, and a computer readable storage medium. The method includes: disabling a serial interface function of the wireless earphone in a case that a first predetermined condition is met, where the first predetermined condition includes that the wireless earphone is outside a charging case, or the wireless earphone is in the charging case and a lid of the charging case is closed; and enabling the serial interface function of the wireless earphone in a case that a second predetermined condition is met, where the second predetermined condition includes that the wireless earphone is in the charging case and the lid of the charging case is open.

Claims (22)

1. A method for controlling a serial interface of a wireless earphone, comprising:

disabling a serial interface function of the wireless earphone in a case that a first predetermined condition is met, wherein the first predetermined condition comprises that the wireless earphone is outside a charging case, or the wireless earphone is in the charging case and a lid of the charging case is closed; and

enabling the serial interface function of the wireless earphone in a case that a second predetermined condition is met, wherein the second predetermined condition comprises that the wireless earphone is in the charging case and the lid of the charging case is open,

wherein after the disabling the serial interface function of the wireless earphone, the method further comprises:

setting an RX/TX interface of the wireless earphone to be a general IO interface;

wherein after the setting the RX/TX interface of the wireless earphone to be the general IO interface, the method further comprises:

activating interrupt enablement of the RX/TX interface; and

wherein before the enabling the serial interface function of the wireless earphone, the method further comprises:

receiving an idle code transmitted by the charging case and triggering an interrupt of the RX/TX interface.

2. The method for controlling a serial interface of a wireless earphone according to claim 1 , further comprising:

detecting whether a voltage at VBUS is equal to a predetermined voltage;

determining that the wireless earphone is in the charging case and that the second predetermined condition is met in a case that the voltage at VBUS is equal to the predetermined voltage; and

determining that the wireless earphone is outside the charging case and that the first predetermined condition is met in a case that the voltage at VBUS is not equal to the predetermined voltage.

3. The method for controlling a serial interface of a wireless earphone according to claim 2 , wherein after it is determined that the second predetermined condition is met, the method further comprises:

determining that the first predetermined condition is met on reception of an instruction indicating that the lid of the charging case is closed.

4. The method for controlling a serial interface of a wireless earphone according to claim 3 , wherein the determining that the first predetermined condition is met comprises:

starting a countdown of a predetermined time period; and

determining that the first predetermined condition is met when the countdown ends.

5. A wireless earphone, comprising:

a memory configured to store a computer program; and

a processor configured to execute the computer program to perform the method for controlling a serial interface of a wireless earphone according to claim 1 .

6. A computer readable storage medium, wherein the computer readable storage medium stores a computer program that, when being executed by a processor, performs the method for controlling a serial interface of a wireless earphone according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 23, 2021
From: YANG, PEI
To: GOERTEK INC.
Reel/Frame 058192/0457 →
Priority Claims (1)
CN 201910684290.9 · Jul 26, 2019 · national
Continuity (1)
Related Publication 20220248123A1 · Aug 4, 2022