Method and non-transitory computer-readable storage medium and apparatus for receiving Bluetooth packets and correcting error bits therein
AssigneeAiroha Technology Corp.
InventorWen-Tsung Huang
Life of this patent
Estimating the term…
Abstract
The invention relates to a method, a non-transitory computer-readable storage medium, and an apparatus for receiving Bluetooth packets and correcting error bits therein. The method, which is performed by a processing unit, includes: receiving Bluetooth packets from radio frequency (RF) signal; verifying a unique synthesized packet with a checksum thereof when the unique synthesized packet can be generated from the Bluetooth packets; and transmitting a synthesized packet that has passed a verification to a program module for an application when the unique synthesized packet passes the verification.
Claims14
A method for receiving Bluetooth packets and correcting error bits therein, performed by a processing unit, comprising:
- receiving a plurality of Bluetooth packets from radio frequency (RF) signal, wherein a total number of the Bluetooth packets is an odd number greater than 2;
- generating an unique synthesized packet from the Bluetooth packets by performing a majority decision on an inconsistent bit between the Bluetooth packets, wherein the majority decision determines that the inconsistent bit of the unique synthesized packet is “1” in response that a quantity of “1” appeared in inconsistent bits of the Bluetooth packets is greater than a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets, and determines that the inconsistent bit of the unique synthesized packet is “0” in response that a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets is greater than a quantity of “1” appeared in the inconsistent bits of the Bluetooth packets;
- verifying the unique synthesized packet with a first checksum thereof;
- and
- transmitting a synthesized packet to a program module for an application when the unique synthesized packet passes the verification as the synthesized packet.
A non-transitory computer-readable storage medium having stored therein program code that, when loaded and executed by a processing unit, cause the processing unit to perform a method of receiving Bluetooth packets and correcting error bits therein to:
- receive a plurality of Bluetooth packets from radio frequency (RF) signal, wherein a total number of the Bluetooth packets is an odd number greater than 2;
- generate an unique synthesized packet from the Bluetooth packets by performing a majority decision on an inconsistent bit between the Bluetooth packets, wherein the majority decision determines that the inconsistent bit of the unique synthesized packet is “1” in response that a quantity of “1” appeared in inconsistent bits of the Bluetooth packets is greater than a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets, and determines that the inconsistent bit of the unique synthesized packet is “0” in response that a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets is greater than a quantity of “1” appeared in the inconsistent bits of the Bluetooth packets;
- verify the unique synthesized packet with a first checksum thereof;
- and
- transmit a synthesized packet to a program module for an application when the unique synthesized packet passes the verification as the synthesized packet.
An apparatus for receiving Bluetooth packets and correcting error bits therein, comprising:
- a processing unit, arranged operably to:
- receive a plurality of Bluetooth packets from radio frequency (RF) signal through a RF module and a modulator-demodulator (modem), wherein a total number of the Bluetooth packets is an odd number greater than 2;
- generate an unique synthesized packet from the Bluetooth packets by performing a majority decision on an inconsistent bit between the Bluetooth packets, wherein the majority decision determines that the inconsistent bit of the unique synthesized packet is “1” in response that a quantity of “1” appeared in inconsistent bits of the Bluetooth packets is greater than a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets, and determines that the inconsistent bit of the unique synthesized packet is “0” in response that a quantity of “0” appeared in the inconsistent bits of the Bluetooth packets is greater than a quantity of “1” appeared in the inconsistent bits of the Bluetooth packets;
- verify the unique synthesized packet with a checksum thereof;
- transmit a synthesized packet to a program module for an application when the unique synthesized packet passes the verification as the synthesized packet;
- and activate a retransmission operation when the verification of the unique synthesized packet fails.
Dependencies are inferred from the claim text.