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

Inactive Publication Date: 2015-02-04
SHENZHEN GRANDSUN ELECTRONICS
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiments of the present invention is to provide a Bluetooth data transmission method, which aims to solve the problem that in the existing Bluetooth data transmission method, when the new command is not defined in the Bluetooth protocol, the generated Bluetooth data packet cannot be processed by the Bluetooth chip. Developers need to rewrite the APP communication protocol, which increases the difficulty of developing Bluetooth products and reduces the usability of the Bluetooth protocol.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods, devices and systems for sending and receiving Bluetooth data
  • Methods, devices and systems for sending and receiving Bluetooth data
  • Methods, devices and systems for sending and receiving Bluetooth data

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable for the technical field of Bluetooth, and provides methods, devices and systems for sending and receiving Bluetooth data. The Bluetooth data sending method comprises the steps of: obtaining to-be-sent Bluetooth data written by adopting a Bluetooth protocol by sending equipment, configuring a flag bit based on a Bluetooth command in the Bluetooth data to generate a to-be-sent Bluetooth data packet, and sending the Bluetooth data packet to receiving equipment, wherein the flag bit is used for judging whether the command in the Bluetooth data packet belongs to the existing command in the Bluetooth protocol. According to the Bluetooth data sending method, the problem that the Bluetooth chip of a generated Bluetooth data packet cannot work when a new command is not defined in the Bluetooth protocol is solved. The methods, devices and systems for sending and receiving Bluetooth data have the beneficial effects in two aspects as follows: on one hand, the difficulty of developing Bluetooth products is decreased and usability of the Bluetooth protocol is improved; on the other hand, forward compatibility of the Bluetooth protocols in low versions is realized, pressure of processing data by a Bluetooth module is lowered, and compatibility and transportability of the systems is improved.

Description

technical field [0001] The invention belongs to the technical field of bluetooth, and in particular relates to a bluetooth data sending method, a receiving method, a device and a system. Background technique [0002] Generally, Bluetooth is often selected for short-distance communication and control, because Bluetooth technology has the characteristics of low power consumption and high reliability. These characteristics of Bluetooth technology make Bluetooth widely used in the fields of electronic consumer goods and short-distance control, such as: Bluetooth headsets, Bluetooth speakers, wearable devices, etc. The low power consumption technology of Bluetooth 4.0 further expands the scope of application of Bluetooth. [0003] At present, the Bluetooth protocol already includes functions such as scanning, pairing, establishing a connection, transferring audio files, and canceling links to Bluetooth devices. In addition, when playing audio, the AVRCP protocol of the Bluetooth...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04B5/00H04W4/00
Inventor 吴海全师瑞文彭久高宋亚楠
Owner SHENZHEN GRANDSUN ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products