CN105282608B - A kind of method that Android intelligence playback equipment integrates Bluetooth communication - Google Patents
A kind of method that Android intelligence playback equipment integrates Bluetooth communication Download PDFInfo
- Publication number
- CN105282608B CN105282608B CN201510690516.8A CN201510690516A CN105282608B CN 105282608 B CN105282608 B CN 105282608B CN 201510690516 A CN201510690516 A CN 201510690516A CN 105282608 B CN105282608 B CN 105282608B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- android
- module
- communication
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
- H04N21/43637—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The invention discloses a kind of methods that Android intelligence playback equipment integrates Bluetooth communication.Bluetooth USB module is inserted on Android intelligence playback equipment, in the App software of the Bluetooth communication of Android intelligent players operation, the App of Bluetooth communication is run, may search for other bluetooth equipments, establish connection, transmit data.Bluetooth communication with external equipment is converted to the serial-port communication with Android by the present invention, to be implemented without replacement firmware, the Andriod intelligence playback equipment for not having 4.0 communication function of bluetooth originally integrates the communication means of bluetooth 4.0.
Description
Technical field
Integrate Bluetooth technology field the invention belongs to intelligence, in particular to be that a kind of Android intelligence playback equipment is integrated
The method of Bluetooth communication.
Background technique
With the development of embedded technology, using the intelligent playback equipment of Android operation system, such as smart television,
Network machine top box, application is more and more extensive, using the intelligent playback equipment of android system, can connect network, downloading plays
Online the resources of movie & TV.Simultaneously because using android system, functions of the equipments are available to be further expanded.But due to setting
Meter problem, these equipment of early stage do not configure necessary communication interface, such as bluetooth, and present many smart homes produce
Product, such as intelligent constitution scale, sphygmomanometer, environment monitor etc., are all the communication modes using bluetooth 4.0.If smart television,
Set-top box has the communication function of bluetooth 4.0, so that it may connect with these smart machines, in conjunction with the internet communication function of itself
It can, so that it may be expanded into the information centre of smart home.
Bluetooth 4.0 is versions in 2012, and compared with original Bluetooth technology, its feature is low-power consumption, low prolongs
Late, effective connection distance of overlength, therefore newly developed smart home product much uses 4.0 mode of bluetooth and external connection,
But later due to releasing the time, there is no the functions of integrated bluetooth 4.0 for the intelligent playback equipment of early stage, while Android is in version
Originally 4.3 the API for supporting bluetooth 4.0 is just released later, and existing many smart machines are using Android edition 4 .0 and 4.2
's.
This method uses a USB bluetooth module, and the built-in protocol stack of bluetooth 4.0 of the module is responsible for Bluetooth communication, and
After module is inserted into the USB interface of intelligent playback equipment, built-in android system can be identified as the module that USB turns serial port, and
The generic module is that the android system of lowest version is supported, the module is converted to the Bluetooth communication with external equipment in this way
Do not have 4.0 communication function of bluetooth originally to be implemented without replacement firmware with the serial-port communication of Android
Andriod intelligence playback equipment integrates the communication means of bluetooth 4.0.
Summary of the invention
The purpose of the present invention is to provide a kind of methods that Android intelligence playback equipment integrates Bluetooth communication, will
Android intelligence playback equipment integrates bluetooth 4.0USB equipment, and the equipment for solving the android system of lowest version can not be with indigo plant
The problem of tooth 4.0 connects.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention provides a kind of method that Android intelligence playback equipment integrates Bluetooth communication, communication means are as follows:
Bluetooth USB module is inserted on Android intelligence playback equipment by a, in the operation of Android intelligent players
The App software of Bluetooth communication, using bluetooth development kit, which is communicated by serial mode with bluetooth USB module,
Realize the data interaction function of bluetooth under Android platform;
B by the App software registration bluetooth module for the Bluetooth communication that Android intelligent players are run, and searches for bluetooth
Equipment, after screening qualified equipment, bluetooth devices with formulation obtain attribute information, and send link order;
The App software of the Bluetooth communication of c, Android intelligent players operation is shown and the successful connection of bluetooth USB module;
D, bluetooth USB module receive the data command that Android App is sent, after parsing according to protocol format, receive
The corresponding Bluetooth function of execution, the result of operation returns again to in Android App equipment;
E, in the measurement result to App software of return, i.e., the transmittable link order disconnected with bluetooth USB module;
F obtains the result that bluetooth USB module is interacted with the function of Android intelligence playback equipment.
Further, the intelligent playback equipment is the equipment for supporting android system 4.0 or 4.2 lowest versions.
Further, the bluetooth USB module uses the bluetooth 4.0USB module of TI CC2540, being capable of completely compatible indigo plant
The SoC chip of 4.0 low-power consumption BLE agreement of tooth has been internally integrated 8051 MCU kernels, the high-performance 2.4GHz radio frequency of low-power consumption
Transceiver, 8KB RAM and 256KB flash storage.
The invention has the following advantages:
Method of the invention uses a USB bluetooth module, and the built-in protocol stack of bluetooth 4.0 of the module is responsible for bluetooth
Communication, and after module is inserted into the USB interface of intelligent playback equipment, built-in android system can be identified as USB and turn serial port
Module, and the android system that the generic module is lowest version is supported, the in this way module are by the Bluetooth communication with external equipment
The serial-port communication with Android is converted to, to be implemented without replacement firmware, does not have 4.0 communication function of bluetooth originally
Andriod intelligence playback equipment integrate bluetooth 4.0 communication means.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is structure flow chart of the invention;
Fig. 2 is structural system figure of the invention;
Fig. 3 is the bluetooth module operational flow diagram of the invention by taking bluetooth sphygmomanometer as an example
Fig. 4 is bluetooth 4.0USB modular structure schematic diagram of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
It please referring to shown in Fig. 1 and Fig. 2, the present invention is a kind of method that Android intelligence playback equipment integrates Bluetooth communication,
Its communication means are as follows:
Bluetooth USB module is inserted on Android intelligence playback equipment by a, in the operation of Android intelligent players
The App software of Bluetooth communication, using bluetooth development kit, which is communicated by serial mode with bluetooth USB module,
Realize the data interaction function of bluetooth under Android platform;
B by the App software registration bluetooth module for the Bluetooth communication that Android intelligent players are run, and searches for bluetooth
Equipment, after screening qualified equipment, bluetooth devices with formulation obtain attribute information, and send link order;
The App software of the Bluetooth communication of c, Android intelligent players operation is shown and the successful connection of bluetooth USB module;
D, bluetooth USB module receive the data command that Android App is sent, after parsing according to protocol format, receive
The corresponding Bluetooth function of execution, the result of operation returns again to in Android App equipment;
E, in the measurement result to App software of return, i.e., the transmittable link order disconnected with bluetooth USB module;
F obtains the result that bluetooth USB module is interacted with the function of Android intelligence playback equipment.
As shown in figure 4, there is completely compatible 4.0 low-power consumption BLE of bluetooth using the bluetooth 4.0USB module of TI CC2540
The SoC chip of agreement has been internally integrated 8051MCU kernel, the high-performance 2.4GHz RF transceiver, 8KB RAM of low-power consumption
With 256KB flash storage.It is write with a brush dipped in Chinese ink by emulator into firmware HostTest App, which is integrated with the association of bluetooth 4.0
Stack is discussed, supports HCI Data Transport Protocol, and emulate USB CDC serial line interface.
In the App software of the Bluetooth communication of Android intelligent players operation, using bluetooth development kit, the exploitation
Packet is communicated by serial mode with bluetooth 4.0USB module, and the institute for realizing bluetooth 4.0 under Android platform is functional.It will be blue
Tooth 4.0USB module is inserted into intelligent players, runs the App of Bluetooth communication, may search for other bluetooth equipments, establishes connection, passes
Transmission of data.
The specific embodiment of the present embodiment:
As shown in figure 3, by taking bluetooth sphygmomanometer as an example bluetooth module operational process --- bluetooth USB device is inserted by user
Onto sphygmomanometer, bluetooth module is registered, android bluetooth 4.0App carries out bluetooth equipment connection status, meets by screening
The equipment of condition sends and obtains attribute instruction, with specified bluetooth devices, obtains attribute information, the equipment for carrying out sphygmomanometer
Information operation sends connection device directive, is connected to bluetooth equipment, after successful connection, user binds arm into measurement interface
Band presses the start button of sphygmomanometer, and sphygmomanometer starting carries out blood pressure measurement, and return measurement attribute value obtains measurement result,
It sends and removes bind command, disconnect the connection with bluetooth equipment, return instruction is as a result, display measured value.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment
All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification,
It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention
Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only
It is limited by claims and its full scope and equivalent.
Claims (1)
1. a kind of Android intelligence playback equipment integrates the method that bluetooth 4.0 communicates, communication means are as follows:
Bluetooth USB module is inserted on Android intelligence playback equipment by a, in the bluetooth of Android intelligent players operation
The App software of communication, using bluetooth development kit, which is communicated by serial mode with bluetooth USB module, is realized
The data interaction function of bluetooth under Android platform;
B by the App software registration bluetooth module for the Bluetooth communication that Android intelligent players are run, and searches for bluetooth and sets
Standby, after screening qualified equipment, bluetooth devices with formulation obtain attribute information, and send link order;
The App software of the Bluetooth communication of c, Android intelligent players operation is shown and the successful connection of bluetooth USB module;
D, bluetooth USB module receive the data command that Android App is sent, and after parsing according to protocol format, what is received is held
The corresponding Bluetooth function of row, the result of operation are returned again to in Android App equipment;
E, in the measurement result to App software of return, i.e., the transmittable link order disconnected with bluetooth USB module;
F obtains the result that bluetooth USB module is interacted with the function of Android intelligence playback equipment;
Bluetooth USB device is inserted on sphygmomanometer by user, has registered bluetooth module, and android bluetooth 4.0App carries out bluetooth
Equipment connection status sends by screening qualified equipment and obtains attribute instruction, with specified bluetooth devices, obtains
Attribute information carries out the facility information operation of sphygmomanometer, into measurement interface, sends connection device directive, is connected to bluetooth and sets
Standby, after successful connection, user binds armband, presses the start button of sphygmomanometer, and sphygmomanometer starting carries out blood pressure measurement, returns
Attribute value is measured, obtains measurement result, sends and removes bind command, disconnects the connection with bluetooth equipment, return instruction is as a result, aobvious
Show measured value;
The intelligence playback equipment is the equipment for supporting android system 4.0 or 4.2 lowest versions;
The bluetooth USB module uses the bluetooth 4.0USB module of TI CC2540, being capable of completely compatible 4.0 low-power consumption BLE of bluetooth
The SoC chip of agreement has been internally integrated 8051 MCU kernels, the high-performance 2.4GHz RF transceiver, 8KBRAM of low-power consumption
With 256KBFlash memory;
Using the bluetooth 4.0USB module of TI CC2540, it is internally integrated 8051MCU kernel, the high-performance of low-power consumption
2.4GHz RF transceiver, 8KB RAM and 256KB flash storage;It is write with a brush dipped in Chinese ink by emulator into firmware HostTestApp,
The firmware is integrated with the protocol stack of bluetooth 4.0, supports HCI Data Transport Protocol, and emulate USB CDC serial line interface;
In the App software of the Bluetooth communication of Android intelligent players operation, using bluetooth development kit, the development kit is logical
Serial mode is crossed to communicate with bluetooth 4.0USB module;Bluetooth 4.0USB module is inserted into intelligent players, runs Bluetooth communication
App searches for other bluetooth equipments, establishes connection, transmits data;
The built-in protocol stack of bluetooth 4.0 of USB bluetooth module, is responsible for Bluetooth communication, and module is inserted into the USB of intelligent playback equipment
After interface, built-in android system can be identified as the module that USB turns serial port, which leads to the bluetooth with external equipment
Letter is converted to the serial-port communication with Android.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510690516.8A CN105282608B (en) | 2015-10-19 | 2015-10-19 | A kind of method that Android intelligence playback equipment integrates Bluetooth communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510690516.8A CN105282608B (en) | 2015-10-19 | 2015-10-19 | A kind of method that Android intelligence playback equipment integrates Bluetooth communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105282608A CN105282608A (en) | 2016-01-27 |
CN105282608B true CN105282608B (en) | 2019-03-08 |
Family
ID=55150802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510690516.8A Expired - Fee Related CN105282608B (en) | 2015-10-19 | 2015-10-19 | A kind of method that Android intelligence playback equipment integrates Bluetooth communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282608B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167617B (en) * | 2018-08-10 | 2022-04-01 | 深圳市智微智能科技股份有限公司 | Method for adapting USB Bluetooth adapter to android system and related product |
CN111930431B (en) * | 2020-07-10 | 2024-04-05 | 深圳市广和通无线股份有限公司 | Mobile terminal, control method thereof, computer device, and storage medium |
CN112752246A (en) * | 2020-12-16 | 2021-05-04 | 江苏惠通集团有限责任公司 | Terminal adapter and communication system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770436A (en) * | 2010-01-19 | 2010-07-07 | 中兴通讯股份有限公司 | Personal computer (PC) side software realization method and system based on wireless connection |
CN103107825A (en) * | 2013-01-24 | 2013-05-15 | 深圳市信驰达科技有限公司 | Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal |
CN204231344U (en) * | 2014-10-21 | 2015-03-25 | 无锡中科沃谱瑞科技有限责任公司 | A kind of health detecting system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4168714B2 (en) * | 2001-12-17 | 2008-10-22 | ソニー株式会社 | COMMUNICATION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM |
-
2015
- 2015-10-19 CN CN201510690516.8A patent/CN105282608B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770436A (en) * | 2010-01-19 | 2010-07-07 | 中兴通讯股份有限公司 | Personal computer (PC) side software realization method and system based on wireless connection |
CN103107825A (en) * | 2013-01-24 | 2013-05-15 | 深圳市信驰达科技有限公司 | Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal |
CN204231344U (en) * | 2014-10-21 | 2015-03-25 | 无锡中科沃谱瑞科技有限责任公司 | A kind of health detecting system |
Also Published As
Publication number | Publication date |
---|---|
CN105282608A (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104584677B (en) | The communicator independent of treater of network availability and method | |
CN102625171B (en) | Remote control method, system and corresponding equipment for smart television | |
JP6924816B2 (en) | Setup Synchronizers and methods for end-user medical devices | |
CN105282608B (en) | A kind of method that Android intelligence playback equipment integrates Bluetooth communication | |
WO2015180567A1 (en) | Method and device for realizing data exchange between intelligent display terminal and motion apparatus | |
WO2016171825A1 (en) | Techniques for communicating display streams | |
CN104267943B (en) | A kind of external equipment adaptive device and method | |
CN101799972A (en) | Multi-remote-controller input-driven adaptation device and method | |
CN104679142A (en) | Docking station for intelligent electronic equipment | |
CN103412832A (en) | Automatic WIFI (Wireless Fidelity) adaptation method | |
CA2973022C (en) | An embedded operating system for achieving bluetooth slave device function and the method thereof | |
CN103744478A (en) | Bluetooth wireless display and control method thereof | |
US8954636B2 (en) | Home gateway and method for adapting USB modem | |
US9042268B2 (en) | Over-the-air programming of MAC address to wifi IC in production line | |
CN103198822B (en) | A kind of karaoke broadcast control equipment with wireless push function | |
CN204965084U (en) | Intelligently fusing terminal with remote control and detection function | |
WO2014024175A3 (en) | Managing timers | |
CN103457969B (en) | The control method of terminal unit, system and device | |
CN205029808U (en) | A integrated bluetooth equipment for android intelligence playback devices | |
CN104618653A (en) | Novel Bluetooth self shooting control device | |
CN203300208U (en) | Kara OK broadcast control equipment with wireless push function | |
CN107437329A (en) | A kind of smart home remote monitoring U-shield Verification System | |
JP5269047B2 (en) | Electronic equipment system, electronic equipment and connection equipment | |
CN203055154U (en) | Multiprotocol infrared remote control conversion equipment | |
CN109189254B (en) | Input device based on touch screen drive, operation method, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190308 Termination date: 20201019 |