Methods, devices and systems for sending and receiving Bluetooth data
A technology of bluetooth data and sending method, which is applied in the field of bluetooth, can solve the problems of reducing the usability of bluetooth protocol, increasing the difficulty of developing bluetooth products, and the bluetooth data packet bluetooth chip can not handle, so as to improve compatibility and portability, improve usability, The effect of low power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] refer to figure 1 , figure 1 It is an implementation flowchart of the Bluetooth data sending method provided by the embodiment of the present invention, and is described in detail as follows:
[0040] In step S101, the sending device obtains the bluetooth data to be sent written by the bluetooth protocol;
[0041] In step S102, according to the Bluetooth command in the Bluetooth data, a flag is configured to generate a Bluetooth data packet to be sent;
[0042] Wherein, the sending device includes, but is not limited to, a smart phone, a pocket computer (Pocket Personal Computer, PPC), a palmtop computer, a computer, a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA) and the like.
[0043] Wherein, the commands in the bluetooth data packets to be sent are distinguished, and it is judged whether the commands in the bluetooth data packets belong to the existing commands in the bluetooth protocol, when the commands in the bluetooth data p...
Embodiment 2
[0052] refer to figure 2 , figure 2 It is an implementation flowchart of step S102 of the Bluetooth data sending method provided by the embodiment of the present invention, and is described in detail as follows:
[0053] configuration file header;
[0054] Add the file header and flag before the bluetooth command, add a cyclic redundancy check (Cyclic Redundancy Check, CRC) check bit and an end flag after the bluetooth command, and generate a bluetooth data packet to be sent. refer to image 3 , image 3 It is a schematic diagram of a better format of a Bluetooth data packet.
[0055] In this embodiment, since the flag bits are configured according to the commands in the Bluetooth data, the generation of the Bluetooth data packets to be sent can reduce the difficulty of developing Bluetooth products and improve the usability of the Bluetooth protocol.
Embodiment 3
[0057] refer to Figure 4 , Figure 4 It is an implementation flowchart of the Bluetooth data receiving method provided by the embodiment of the present invention, and is described in detail as follows:
[0058] In step S401, the receiving device receives the Bluetooth data packet;
[0059] Wherein, the receiving device includes, but is not limited to, a smart phone, a pocket computer (Pocket Personal Computer, PPC), a palmtop computer, a computer, a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA) and the like.
[0060] In step S402, read the flag bit configured in the Bluetooth data packet;
[0061] In step S403, according to the flag bit configured in the Bluetooth data packet, it is judged whether the command in the Bluetooth data packet belongs to an existing command in the Bluetooth protocol;
[0062] Wherein, the pre-stored commands in the Bluetooth data packet do not belong to the flag bits of the existing commands in the Bluetooth p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com