Bluetooth data receiving device and method
A technology of bluetooth data and receiving method, applied in the field of data transmission, can solve the problems of data fault, bluetooth data receiving data fault, confusion, etc., to avoid loss and achieve the effect of integrity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] The present invention is illustrated by taking the first round of data sent by the receiving end of the PC as an example, wherein the length of the data packet is 16 bytes, and its specific operation is as follows
[0035] First, virtualize the Bluetooth device on the receiving end of the PC into a serial port. After the receiving end of the PC is connected to the sending end through Bluetooth, it receives 1500 bytes of data sent by the sending end. The receiving end of the PC finds the 50th byte through the Bluetooth protocol as the first The starting point of the group data, where the data of 1-49 bytes is invalid data sent by the sender, so the received data of the first round is 50-1500, a total of 1451 bytes of data, and the length of the received data is 1451, and then Calculate the remainder of the length 16 of the data packet, and then get 90 complete data packets, and there are 11 bytes of redundant data remaining. Since the data of 11 bytes is not enough for th...
Embodiment 2
[0039] The present invention is explained by taking the 6th round of data sent by the receiving end of the PC as an example, wherein the length of the data packet is 8 bytes, and 4 bytes of redundant data are stored in the storage memory during the 5th round of data receiving. data; the specific operations are as follows:
[0040] The PC receiver receives 992 bytes of data sent by the sender in the sixth round of data reception during a data transmission process, and first stores the 4 bytes of redundant data stored in the memory during the fifth round of data reception Integrate it into the starting position of the received data to get the new received data length of 1000; then calculate the remainder of the length 8 of the data packet to obtain 125 complete data packets. There is no redundant data in this round, so the PC receiving end directly converts 125 Receive a complete data packet and complete the sixth round of data reception.
[0041]During the 7th round of data re...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

