CN105282608A - Method for integrating Bluetooth communication in Android smart play device - Google Patents
Method for integrating Bluetooth communication in Android smart play device Download PDFInfo
- Publication number
- CN105282608A CN105282608A CN201510690516.8A CN201510690516A CN105282608A CN 105282608 A CN105282608 A CN 105282608A CN 201510690516 A CN201510690516 A CN 201510690516A CN 105282608 A CN105282608 A CN 105282608A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- android
- communication
- equipment
- module
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims abstract description 13
- 230000006870 function Effects 0.000 claims description 16
- 238000005259 measurement Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 4
- 230000036772 blood pressure Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009530 blood pressure measurement Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000976 ink Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
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 stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for integrating Bluetooth communication in an Android smart play device. A Bluetooth USB module is inserted into the Android smart play device, and Bluetooth communication App software running on an Android smart player runs a Bluetooth communication App, and can search other Bluetooth devices to establish a connection for data transmission. According to the method, Bluetooth communication with an external device is converted into communication with a serial port of Android, so that the Android smart play device without the Bluetooth 4.0 communication function integrates Bluetooth 4.0 communication without replacing firmware.
Description
Technical field
The invention belongs to intelligence integrated with Bluetooth technical field, particularly be the method for a kind of Android intelligence playback equipment integrated with Bluetooth communication.
Background technology
Along with the development of embedded technology, adopt the intelligent playback equipment of Android operation system, such as intelligent television, network machine top box, apply more and more extensive, adopt the intelligent playback equipment of android system, can interconnection network, the resources of movie & TV that downloading and playing is online.Simultaneously owing to have employed android system, functions of the equipments can be further expanded.Such as, such as, but due to design problem, these early stage equipment do not configure necessary communication interface, bluetooth, and present a lot of Smart Home products, intelligent physique scale, sphygmomanometer, environment monitor etc., be all the communication mode adopting bluetooth 4.0.If intelligent television, Set Top Box possess the communication function of bluetooth 4.0, just can be connected with these smart machines, then the Internet communication function of combination itself, just can be expanded into the information centre of Smart Home.
Bluetooth 4.0 is versions in 2012, compared with original Bluetooth technology, its feature is effective connection distance of low-power consumption, low delay, overlength, therefore the Smart Home product of new research and development much adopts bluetooth 4.0 mode to be connected with outside, but it is more late owing to releasing the time, early stage intelligent playback equipment does not have the function of integrated with Bluetooth 4.0, Android just releases the API supporting bluetooth 4.0 after edition 4 .3 simultaneously, and existing a lot of smart machine adopts Android edition 4 .0's and 4.2.
This method adopts a USB bluetooth module, this module the is built-in protocol stack of bluetooth 4.0, be responsible for Bluetooth communication, and after module inserts the USB interface of intelligent playback equipment, built-in android system can be identified as the module that USB turns serial port, and the android system that this generic module is lowest version is supported, Bluetooth communication with external equipment is converted to the serial-port communication with Android by this module like this, thus realize not needing to change firmware, originally do not possess the communication means of the Andriod intelligence playback equipment integrated with Bluetooth 4.0 of bluetooth 4.0 communication function.
Summary of the invention
The object of the present invention is to provide the method for a kind of Android intelligence playback equipment integrated with Bluetooth communication, by Android intelligence playback equipment integrated with Bluetooth 4.0USB equipment, the problem that the equipment solving the android system of lowest version cannot be connected with bluetooth 4.0.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
The invention provides the method for a kind of Android intelligence playback equipment integrated with Bluetooth communication, its communication means is:
A, bluetooth USB module is inserted on Android intelligence playback equipment, at the App software of the Bluetooth communication that Android intelligent players is run, adopt bluetooth kit, this kit is communicated with bluetooth USB module by serial mode, achieves the data interaction function of bluetooth under Android platform;
B, the App software registration bluetooth module of the Bluetooth communication run by Android intelligent players, and search for bluetooth equipment, after screening qualified equipment, with the bluetooth devices formulated, obtain attribute information, and send link order;
The display of App software and the successful connection of bluetooth USB module of the Bluetooth communication that c, Android intelligent players is run;
D, bluetooth USB module receives the data command that AndroidApp sends, after resolving according to protocol format, the corresponding Bluetooth function of the execution received, the result of operation returns on AndroidApp equipment again;
E, the measurement result returned, on App software, can send the link order disconnected with bluetooth USB module;
F, obtains the result that the function of bluetooth USB module and Android intelligence playback equipment is mutual.
Further, described intelligent playback equipment is the equipment supporting android system 4.0 or 4.2 lowest version.
Further, described bluetooth USB module adopts the bluetooth 4.0USB module of TICC2540, can the SoC chip of compatible bluetooth 4.0 low-power consumption BLE agreement completely, its inside is integrated with 8051MCU kernel, high-performance 2.4GHz radio-frequency (RF) transceiver, 8KBRAM and the 256KBFlash memory of low-power consumption.
The present invention has following beneficial effect:
Method of the present invention adopts a USB bluetooth module, this module the is built-in protocol stack of bluetooth 4.0, be responsible for Bluetooth communication, and after module inserts the USB interface of intelligent playback equipment, built-in android system can be identified as the module that USB turns serial port, and the android system that this generic module is lowest version is supported, Bluetooth communication with external equipment is converted to the serial-port communication with Android by this module like this, thus realize not needing to change firmware, originally the communication means of the Andriod intelligence playback equipment integrated with Bluetooth 4.0 of bluetooth 4.0 communication function is not possessed.
Certainly, implement arbitrary product of the present invention might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described describing the required accompanying drawing used to embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is structure flow chart of the present invention;
Fig. 2 is structural system figure of the present invention;
Fig. 3 is the bluetooth module operational flow diagram counting example with bluetooth blood pressure of the present invention
Fig. 4 is bluetooth 4.0USB modular structure schematic diagram of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to shown in Fig. 1 and Fig. 2, the present invention is the method for a kind of Android intelligence playback equipment integrated with Bluetooth communication, and its communication means is:
A, bluetooth USB module is inserted on Android intelligence playback equipment, at the App software of the Bluetooth communication that Android intelligent players is run, adopt bluetooth kit, this kit is communicated with bluetooth USB module by serial mode, achieves the data interaction function of bluetooth under Android platform;
B, the App software registration bluetooth module of the Bluetooth communication run by Android intelligent players, and search for bluetooth equipment, after screening qualified equipment, with the bluetooth devices formulated, obtain attribute information, and send link order;
The display of App software and the successful connection of bluetooth USB module of the Bluetooth communication that c, Android intelligent players is run;
D, bluetooth USB module receives the data command that AndroidApp sends, after resolving according to protocol format, the corresponding Bluetooth function of the execution received, the result of operation returns on AndroidApp equipment again;
E, the measurement result returned, on App software, can send the link order disconnected with bluetooth USB module;
F, obtains the result that the function of bluetooth USB module and Android intelligence playback equipment is mutual.
As shown in Figure 4, adopt the bluetooth 4.0USB module of TICC2540, have the SoC chip of complete compatible bluetooth 4.0 low-power consumption BLE agreement, its inside is integrated with 8051MCU kernel, high-performance 2.4GHz radio-frequency (RF) transceiver, 8KBRAM and the 256KBFlash memory of low-power consumption.Write with a brush dipped in Chinese ink into firmware HostTestApp by simulator, this firmware is integrated with the protocol stack of bluetooth 4.0, supports HCI Data Transport Protocol, and emulates USBCDC serial line interface.
At the App software of Bluetooth communication that Android intelligent players is run, adopt bluetooth kit, this kit, by serial mode and bluetooth 4.0USB module communication, achieves all functions of bluetooth 4.0 under Android platform.Bluetooth 4.0USB module is inserted intelligent players, runs the App of Bluetooth communication, other bluetooth equipments can be searched for, connect, transmission data.
The embodiment of the present embodiment:
As shown in Figure 3, with bluetooth blood pressure count example bluetooth module operational process---bluetooth USB device is inserted on sphygmomanometer by user, register bluetooth module, android bluetooth 4.0App carries out bluetooth equipment connection status, by screening qualified equipment, send and obtain attribute instruction, with appointment bluetooth devices, obtain attribute information, carry out the facility information operation of sphygmomanometer, enter and measure interface, send connection device instruction, be connected to bluetooth equipment, after successful connection, user binds arm straps, press the start button of sphygmomanometer, sphygmomanometer starts, carry out blood pressure measurement, return measurement property value, draw measurement result, send and remove bind command, disconnect the connection with bluetooth equipment, return instruction result, display measurement value.
The disclosed preferred embodiment of the present invention just sets forth the present invention for helping above.Preferred embodiment does not have all details of detailed descriptionthe, does not limit the embodiment that this invention is only described yet.Obviously, according to the content of this specification, can make many modifications and variations.This specification is chosen and is specifically described these embodiments, is to explain principle of the present invention and practical application better, thus makes art technical staff understand well and to utilize the present invention.The present invention is only subject to the restriction of claims and four corner and equivalent.
Claims (3)
1. a method for Android intelligence playback equipment integrated with Bluetooth communication, its communication means is:
A, bluetooth USB module is inserted on Android intelligence playback equipment, at the App software of the Bluetooth communication that Android intelligent players is run, adopt bluetooth kit, this kit is communicated with bluetooth USB module by serial mode, achieves the data interaction function of bluetooth under Android platform;
B, the App software registration bluetooth module of the Bluetooth communication run by Android intelligent players, and search for bluetooth equipment, after screening qualified equipment, with the bluetooth devices formulated, obtain attribute information, and send link order;
The display of App software and the successful connection of bluetooth USB module of the Bluetooth communication that c, Android intelligent players is run;
D, bluetooth USB module receives the data command that AndroidApp sends, after resolving according to protocol format, the corresponding Bluetooth function of the execution received, the result of operation returns on AndroidApp equipment again;
E, the measurement result returned, on App software, can send the link order disconnected with bluetooth USB module;
F, obtains the result that the function of bluetooth USB module and Android intelligence playback equipment is mutual.
2. the method for a kind of Android intelligence playback equipment integrated with Bluetooth according to claim 1 communication, it is characterized in that, described intelligent playback equipment is the equipment supporting android system 4.0 or 4.2 lowest version.
3. the method for a kind of Android intelligence playback equipment integrated with Bluetooth according to claim 1 communication, it is characterized in that, described bluetooth USB module adopts the bluetooth 4.0USB module of TICC2540, can the SoC chip of compatible bluetooth 4.0 low-power consumption BLE agreement completely, its inside is integrated with 8051MCU kernel, high-performance 2.4GHz radio-frequency (RF) transceiver, 8KBRAM and the 256KBFlash memory of low-power consumption.
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 true CN105282608A (en) | 2016-01-27 |
CN105282608B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167617A (en) * | 2018-08-10 | 2019-01-08 | 深圳市智微智能科技开发有限公司 | The method and Related product of Android system adaptation USB Bluetooth adapter |
CN112752246A (en) * | 2020-12-16 | 2021-05-04 | 江苏惠通集团有限责任公司 | Terminal adapter and communication system |
CN111930431B (en) * | 2020-07-10 | 2024-04-05 | 深圳市广和通无线股份有限公司 | Mobile terminal, control method thereof, computer device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003324446A (en) * | 2001-12-17 | 2003-11-14 | Sony Corp | Communication device and method, recording medium, and program |
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 |
-
2015
- 2015-10-19 CN CN201510690516.8A patent/CN105282608B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003324446A (en) * | 2001-12-17 | 2003-11-14 | Sony Corp | Communication device and method, recording medium, and program |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167617A (en) * | 2018-08-10 | 2019-01-08 | 深圳市智微智能科技开发有限公司 | The method and Related product of Android system adaptation USB Bluetooth adapter |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105282608B (en) | 2019-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102707792B (en) | The computer implemented system and method for HID is realized by simple peripheral bus | |
CN107278299A (en) | The functional methods, devices and systems of secondary bus are realized via reconfigurable virtual switch | |
CN102622136B (en) | A kind of multi-point touch system data processing method and device | |
US10547896B2 (en) | Techniques for communicating display streams | |
US20110276738A1 (en) | Sensor node including general-purpose interface port and plug and play function, sensor board including general-purpose interface port and sensor device driver, general-purpose interface port, and operation method of sensor node, sensor board, and general-purpose interface port | |
CN105824729B (en) | A kind of virtual verification platform having versatility and implementation method | |
CN105900039B (en) | The equipment, system and method for platform support are provided for multiple memory technologies | |
CN103327083A (en) | Embedded household monitoring system based on heterogeneous network Android platform | |
CN105302612A (en) | Method for quick upgrading of software program of single-chip microcomputer in electronic system case | |
CN105282608A (en) | Method for integrating Bluetooth communication in Android smart play device | |
CN103970545B (en) | Using the method for JNI method of calling LTE Modem used in android system | |
CN104090855A (en) | Method and device for making USB (universal serial bus) mode and MHL (mobile high-definition link) mode of USB interface compatible | |
CN109101446A (en) | For using unitized connector to carry out the systems, devices and methods of non-intrusion type platform telemetry report | |
CN103412832A (en) | Automatic WIFI (Wireless Fidelity) adaptation method | |
CN105765548B (en) | The support that IOAPIC in equipment based on AMBA is interrupted | |
CN202352120U (en) | Augmented-reality interactive learning machine for children | |
CN109525472A (en) | A kind of bus communication conversion circuit, apparatus and system | |
CN203838596U (en) | Card computer system and device | |
CN205029808U (en) | A integrated bluetooth equipment for android intelligence playback devices | |
US20180011704A1 (en) | Development platform for multi-wireless transmission capabilities | |
CN203896466U (en) | Smart television with scalable inner core | |
CN104424153B (en) | A kind of audio & video equipment data collecting system and its method to USB interface | |
CN101729672B (en) | Management method and system of multifunction mobile equipment | |
CN103777702A (en) | Card computer system and card computer | |
CN109951860A (en) | A kind of method, smart television and storage medium obtaining WIFI information |
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 |