A Bluetooth anti-retransmission implementation method and device
An implementation method, Bluetooth technology, applied in the direction of preventing errors, using return channels for error prevention/detection, digital transmission systems, etc., and can solve problems such as errors, communication failures, and inability to identify Bluetooth devices.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0083] Embodiment 1 of the present invention provides a Bluetooth anti-retransmission implementation method, such as figure 1 shown, including:
[0084] Step 101: The Bluetooth device extracts the first serial number received from the terminal device in the data, and judges whether the first serial number matches the second serial number saved by the Bluetooth device, if yes, execute step 102, otherwise, execute step 103;
[0085] In this embodiment, the serial number is an integer of 01, 02, 03..., and the bluetooth device extracts the serial number in the data received from the terminal device as follows: the bluetooth device extracts the preset word in the data received from the terminal device the data on the section;
[0086] Preferably, in this embodiment, the 7th byte of the data is pre-set as the serial number of the data, and then the Bluetooth device extracts the serial number of the received data as follows: the Bluetooth device extracts the 7th byte of the receive...
Embodiment 2
[0111] Embodiment 2 of the present invention provides a bluetooth anti-retransmission working method when signing, such as figure 2 shown, including:
[0112] Step 201: The Bluetooth device judges whether it has received a signature command from the terminal device, if yes, execute step 202, otherwise continue to execute step 201;
[0113] In this embodiment, when step 201 is judged to be yes, it also includes: the Bluetooth device judges its own state. If the Bluetooth device is in a busy state, then the received signature instruction will not be processed and the current operation will continue. If the Bluetooth device is in In the idle state, step 202 is performed.
[0114] Step 202: The Bluetooth device judges whether the check digit of the received signature command is correct, if yes, execute step 203, otherwise return to step 201;
[0115] Preferably, in this embodiment, the last byte of the signature instruction is preset as a check digit;
[0116] The Bluetooth de...
Embodiment 3
[0169] Embodiment 3 of the present invention provides a Bluetooth anti-retransmission working method when obtaining random numbers, such as image 3 shown, including:
[0170] Step 301: The Bluetooth device judges whether it has received the random number acquisition command sent by the terminal device, if yes, execute step 302, otherwise return to step 301;
[0171] In this embodiment, when step 301 is determined to be yes, it also includes: the bluetooth device judges its own state, such as the bluetooth device is in a busy state, then does not process the received random number acquisition instruction, and continues the current operation, such as the bluetooth device In the idle state, step 302 is performed.
[0172] Step 302: The Bluetooth device judges whether the check digit of the received random number command is correct, if yes, execute step 303, otherwise return to step 301;
[0173] Preferably, in this embodiment, the last byte of the command to obtain the random ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


