CN104113820A - Method for data communication between IOS and Bluetooth module - Google Patents
- ️Wed Oct 22 2014
CN104113820A - Method for data communication between IOS and Bluetooth module - Google Patents
Method for data communication between IOS and Bluetooth module Download PDFInfo
-
Publication number
- CN104113820A CN104113820A CN201410389202.XA CN201410389202A CN104113820A CN 104113820 A CN104113820 A CN 104113820A CN 201410389202 A CN201410389202 A CN 201410389202A CN 104113820 A CN104113820 A CN 104113820A Authority
- CN
- China Prior art keywords
- bluetooth module
- data communication
- apple
- audio stream
- carry out Prior art date
- 2014-08-08 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 title claims abstract description 22
- 241000220225 Malus Species 0.000 description 34
- 230000002093 peripheral effect Effects 0.000 description 5
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 235000021016 apples Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for data communication between the IOS and a Bluetooth module. The method comprises the following steps: (I) an Apple device serving as a sending end performs unipolar non-return-to-zero coding on data to be sent; (II) OOK keying amplitude modulation of the code is performed to obtain a special audio stream; (III) the Apple device serving as a sending end sends the audio stream to a Bluetooth module serving as a receiving end through an A2DP protocol or an HFP protocol; (IV) the external Bluetooth module decodes the modulated audio stream. According to the method, data communication between external Bluetooth module and Apple IOS is realized without supporting Bluetooth 4.0 or without Apple MFI authentication chip, so that the cost is saved while the compatibility is added.
Description
Technical field
The present invention relates to Bluetooth communication field, the especially a kind of IOS of Apple system and do not need to support bluetooth 4.0 and the method for data communication between the outside bluetooth module with apple MFI trusted authentication chip not.
Background technology
The product of Apple's (hereinafter referred apple) is popular in generation with the design of its unique fashion.But, also incompatible between a lot of functions and peripheral non-apple products in the private IOS system of apple.
The present invention is directed to its Bluetooth function, at present tradition and the blue-teeth data transmission of standard realizes by SPP agreement (bluetooth serial ports agreement), and compatible multiple versions, market has intelligent operating system, all adopt this standard agreement, except apple products, the bluetooth between each smart electronics product all can be carried out free communication.
And apple IOS system, the SPP authority of not opening to the outside world, cannot be directly and the blue tooth products of other non-apples carry out data communication.If outside bluetooth module need with apple data communication, just need to add the certification IC of application Apple, must be through the apple deciphering chip of MFI certification.This measure needs certain expense undoubtedly, increases cost.
And apple system is only open to the data communication under bluetooth 4.0 patterns.If be that outside blue tooth products is communicated by letter with it, this product must carry bluetooth 4.0.
Though and bluetooth 4.0 claims with low-power consumption note, so market popularity rate is still not high at present, and during with apple data communication, still can only transmit very small data quantity (every frame is not more than 20 bytes, 2000 bytes that are not more than per second).
Summary of the invention
The object of the present invention is to provide a kind of without support bluetooth 4.0 and need not the situation of apple MFI trusted authentication chip under, between peripheral bluetooth module and apple IOS system, realize the method for data communication.The technical solution used in the present invention is:
IOS system and bluetooth module carry out a method for data communication, comprise the steps:
Step 1. the data that apple equipment sends needs as transmitting terminal are carried out unipolarity non-return-to-zero coding;
Step 2. above-mentioned coding is carried out to OOK keying amplitude modulation(PAM) and become one section of special audio stream;
Step 3. apple equipment is sent to bluetooth module as receiving terminal using this section audio stream by A2DP agreement or HFP agreement as transmitting terminal;
Step 4. outside bluetooth module carries out decoding work to the audio stream after modulating.
Further, in described step 1, the data that transmitting terminal sends are audio file.
Further, in described step 1, while carrying out unipolarity non-return-to-zero coding, the duration of each code element is 10ms.
Further, in described step 3, adopt sinusoidal wave to carrying out OOK keying amplitude modulation(PAM) through the data of unipolarity non-return-to-zero coding.
The invention has the advantages that: the invention provides and a kind ofly do not supporting bluetooth 4.0 and need not apple MFI trusted authentication chip in the situation that, between peripheral bluetooth module and apple IOS system, just can realize the method for data communication, save cost having increased in compatible.
Brief description of the drawings
Fig. 1 is data communication block diagram between apple equipment of the present invention and bluetooth module.
Fig. 2 is unipolarity non-return-to-zero coding exemplary plot of the present invention.
Fig. 3 is OOK modulation example figure of the present invention.
Fig. 4 is decoding process exemplary plot of the present invention.
Embodiment
Below in conjunction with concrete drawings and Examples, the invention will be further described.
The invention provides a kind of do not need to support bluetooth 4.0 and the method that the peripheral bluetooth module with MFI trusted authentication chip is not communicated by letter with apple IOS data among systems, in method, adopted unipolarity non-return-to-zero coding and OOK modulation system.
What communicate by letter with apple device data as shown in Figure 1, is the bluetooth module that there is no apple MFI certification deciphering chip.This communication means comprises:
Step 1. the data that apple equipment sends needs as transmitting terminal are carried out unipolarity non-return-to-zero coding;
Step 2. above-mentioned coding is carried out to OOK keying amplitude modulation(PAM) and become one section of special audio stream;
Step 3. apple equipment is sent to bluetooth module as receiving terminal using this section audio stream by A2DP agreement or HFP agreement as transmitting terminal;
Step 4. bluetooth module is decoded to audio stream.
In detail above-mentioned steps is explained below.In Fig. 1, the outside bluetooth module App that unipolarity non-return-to-zero coding and OOK modulation work are installed by apple equipment end completes.
First,, in step 1, the audio file that apple equipment end can send needs forms the digital signal of a rectangular pulse after unipolarity non-return-to-zero coding, as shown in Figure 2.The feature of this yard is: constant high level represents 1, and zero level represents that the duration of 0, one code element is 10ms, and 10ms is not mandatory provisions herein, also can set as required, but 10ms is a preferred value after overtesting.Representing that after a code element, voltage does not need to get back to 0, and during a code element, level can not change.As shown, a code element T sit is a code element.
Then, after having encoded, recycling is sinusoidal wave carries out OOK keying amplitude modulation(PAM) to the digital signal after coding, forms one section of special audio stream, and as described in Figure 3,1 is sinusoidal wave to modulation system; 0 represents to turn-off, without waveform.
OOK modulation: On-Off Keying binary system on off keying, has another name called binary system amplitude-shift keying (2ASK).An amplitude is taken as to 0, and another amplitude is non-zero.Digital signal through unipolarity non-return-to-zero coding is carried out to 2ASK(OOK keying with sine wave) amplitude modulation(PAM) be sine wave 1 time; 0 represents to turn-off, there is no waveform.
Waveform after modulating by OOK is one section of special audio stream, and transmitting terminal apple equipment is sent to outside bluetooth module by this section audio stream by A2DP agreement (Bluetooth audio frequency mode agreement) or HFP agreement (bluetooth handsfree application protocol).Between the outside bluetooth module App that apple equipment end is installed and outside bluetooth module, carry out communication by A2DP agreement or HFP agreement.This bluetooth module authenticates without apple MFI.
A2DP agreement: Bluetooth audio frequency mode agreement, a kind of technical specification of bluetooth, stereo music that can uppick high-quality by this agreement.This protocol definition set up the needed parameter of audio/video flow and flow process.The application of A2DP is from SRC(digital audio stream sending ending equipment) to SNK(digital audio stream receiving device) set up/control/audio data stream of operation.Sets up and carries out beginning data stream transmitting (Starting Streaming) process once audio data stream connects, SRC and SNK are with regard in preparing at any time " data stream transmitting (Streaming) state " of transceiving data.SRC uses " Send Audio Stream " that audio stream data is sent to SNK, and SNK uses " Receive Audio Stream " audio reception data.
HFP agreement: bluetooth handsfree application protocol is also a kind of technical specification of bluetooth, only listens to the monophony tonequality of regular phone.
Finally can decode to this audio stream as the outside bluetooth module of receiving terminal, audio stream is resolved to module can identification data, and these data are a string binary data.Be illustrated in figure 4 waveform before decoding in the time of decoding, if having signal in a code element, be expressed as 1, if there is no signal, be expressed as 0, as to scheme illustrative audio stream be 110111001001111010 after decoding, this string data is the data that finally obtain.
Be connected to again the hardware facility that other need adaptive apple equipment if outside, the data communication mode of realizing by this bluetooth module just can obtain the data of apple end, utilize these data can realize more easily the function that this hardware facility need to be realized, realize and do not supported bluetooth 4.0 and need not apple MFI trusted authentication chip in the situation that, the method for carrying out data communication between peripheral bluetooth module and apple IOS system.
This method increases has saved cost compatible time.
Some technical terms that the present invention relates to are explained as follows:
APP, i.e. application software or application program.
A2D, Advanced Audio Distribution Profile, Bluetooth audio frequency mode agreement.
SPP, Serial Port Profile, bluetooth serial ports agreement.
HFP, Hands-free Profile, bluetooth handsfree application protocol.
IAP, the abbreviation of iPod Accessory Protocol, is the agreement that Apple specifies for apple accessory specially.
Apple MFi certification, is that Apple (Apple Inc.) authorizes the one of the external accessory of accessory manufacturers produce to identify the usage license to it, is the english abbreviation of apple company " Made for iOS ".
Claims (6)
1. IOS system and bluetooth module carry out a method for data communication, it is characterized in that, comprise the steps:
Step 1. the data that apple equipment sends needs as transmitting terminal are carried out unipolarity non-return-to-zero coding;
Step 2. above-mentioned coding is carried out to OOK keying amplitude modulation(PAM) and become one section of special audio stream;
Step 3. apple equipment is sent to bluetooth module as receiving terminal using this section audio stream by A2DP agreement or HFP agreement as transmitting terminal.
2. the method that IOS system as claimed in claim 1 and bluetooth module carry out data communication, is characterized in that: after step 3, also comprise:
Step 4. outside bluetooth module carries out decoding work to the audio stream after modulating.
3. the method that IOS system as claimed in claim 1 and bluetooth module carry out data communication, is characterized in that:
In described step 1, the data that transmitting terminal sends are audio file.
4. the method that IOS system as claimed in claim 1 and bluetooth module carry out data communication, is characterized in that:
In described step 1, while carrying out unipolarity non-return-to-zero coding, the duration of each code element is 10ms.
5. the method that IOS system as claimed in claim 1 and bluetooth module carry out data communication, is characterized in that:
In described step 2, adopt sinusoidal wave to carrying out OOK keying amplitude modulation(PAM) through the data of unipolarity non-return-to-zero coding.
6. the method that IOS system as claimed in claim 1 and bluetooth module carry out data communication, is characterized in that:
In affiliated step 4, when decoding, if having signal in a code element, be expressed as 1, if there is no signal, be expressed as 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410389202.XA CN104113820A (en) | 2014-08-08 | 2014-08-08 | Method for data communication between IOS and Bluetooth module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410389202.XA CN104113820A (en) | 2014-08-08 | 2014-08-08 | Method for data communication between IOS and Bluetooth module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104113820A true CN104113820A (en) | 2014-10-22 |
Family
ID=51710424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410389202.XA Pending CN104113820A (en) | 2014-08-08 | 2014-08-08 | Method for data communication between IOS and Bluetooth module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104113820A (en) |
Cited By (3)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933428A (en) * | 2016-05-27 | 2016-09-07 | 飞天诚信科技股份有限公司 | Method and device for communicating with apple terminal |
CN106656276A (en) * | 2016-12-15 | 2017-05-10 | 北京塞宾科技有限公司 | Bluetooth audio based karaoke method |
WO2020037810A1 (en) * | 2018-08-20 | 2020-02-27 | 南昌黑鲨科技有限公司 | Bluetooth-based audio transmission method and system, audio playing device and computer-readable storage medium |
Citations (3)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080125037A1 (en) * | 2006-08-23 | 2008-05-29 | Brima Ibrahim | Method and system for routing of FM data to a bluetooth A2DP link |
CN103200263A (en) * | 2013-04-02 | 2013-07-10 | 上海山景集成电路股份有限公司 | Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device |
CN103580844A (en) * | 2012-08-06 | 2014-02-12 | 唐赓 | Mobile phone software and method for conducting full-duplex digital communication through peripheral based on standard Bluetooth headset jack |
-
2014
- 2014-08-08 CN CN201410389202.XA patent/CN104113820A/en active Pending
Patent Citations (3)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080125037A1 (en) * | 2006-08-23 | 2008-05-29 | Brima Ibrahim | Method and system for routing of FM data to a bluetooth A2DP link |
CN103580844A (en) * | 2012-08-06 | 2014-02-12 | 唐赓 | Mobile phone software and method for conducting full-duplex digital communication through peripheral based on standard Bluetooth headset jack |
CN103200263A (en) * | 2013-04-02 | 2013-07-10 | 上海山景集成电路股份有限公司 | Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device |
Cited By (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933428A (en) * | 2016-05-27 | 2016-09-07 | 飞天诚信科技股份有限公司 | Method and device for communicating with apple terminal |
CN105933428B (en) * | 2016-05-27 | 2019-05-10 | 飞天诚信科技股份有限公司 | A kind of method and apparatus communicated with apple terminal |
CN106656276A (en) * | 2016-12-15 | 2017-05-10 | 北京塞宾科技有限公司 | Bluetooth audio based karaoke method |
WO2020037810A1 (en) * | 2018-08-20 | 2020-02-27 | 南昌黑鲨科技有限公司 | Bluetooth-based audio transmission method and system, audio playing device and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103200263B (en) | 2016-06-01 | Intelligent terminal and Bluetooth audio frequency playback equipment and exchange method, system |
JP5613866B1 (en) | 2014-10-29 | Wireless inductive power transmission |
JP6209282B2 (en) | 2017-10-04 | Visible light signal encoding and decoding method, apparatus and system based on multistage amplitude modulation |
CN102412869B (en) | 2014-05-28 | System and method for fast accessing near field communication with controllable communication range |
US20150286608A1 (en) | 2015-10-08 | Methods to send extra information in-band on inter-integrated circuit (i2c) bus |
CN102694597B (en) | 2015-05-27 | Decoding method and controlling method of visible light signal |
CN102693567B (en) | 2015-02-04 | Coding-decoding method based on communication of access control system |
US9548795B2 (en) | 2017-01-17 | Method of identifying wireless power receiver in wireless power system |
CN204013542U (en) | 2014-12-10 | A kind of near field communication system |
US9990330B2 (en) | 2018-06-05 | Simultaneous edge toggling immunity circuit for multi-mode bus |
KR20240115924A (en) | 2024-07-26 | Enhanced wireless power transfer |
CN103136930A (en) | 2013-06-05 | Infrared remote control system transmission end and realization method thereof |
CN108694897A (en) | 2018-10-23 | Drive control method, component and display device |
CN104113820A (en) | 2014-10-22 | Method for data communication between IOS and Bluetooth module |
US9271099B1 (en) | 2016-02-23 | Method and apparatus to use audio port to provide power and data communications for peripheral devices |
CN104951344B (en) | 2019-02-05 | Utilize the method and device of voice signal firmware updating |
CN103533716A (en) | 2014-01-22 | Control method, controlled equipment and control equipment based on Bluetooth communication technology |
CN104702373A (en) | 2015-06-10 | Device and method for using acoustic code to perform network configuration for equipment |
CN104052505A (en) | 2014-09-17 | Single-chip wireless transmitter, transmitting chip and signal transmitting method |
CN104008641B (en) | 2017-05-03 | Mobile terminal, card reader, mobile terminal audio communication method and mobile terminal voice communication system |
CN103856314A (en) | 2014-06-11 | Audio communication self-adaption baud rate method and device and USB key |
CN101141357A (en) | 2008-03-12 | Dialing access device and method of wireless Modem |
KR20160133838A (en) | 2016-11-23 | VLC Transmitter and Receiver with PCI Interface |
CN108616294A (en) | 2018-10-02 | A kind of wireless power supply system and its communication system and method |
CN103001705B (en) | 2015-02-04 | Generation system and generation method for near field communication transceiver chip test waves |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2014-10-22 | C06 | Publication | |
2014-10-22 | PB01 | Publication | |
2014-11-26 | C10 | Entry into substantive examination | |
2014-11-26 | SE01 | Entry into force of request for substantive examination | |
2015-09-30 | ASS | Succession or assignment of patent right |
Owner name: WUXI YIRENYIDENG TECHNOLOGY DEVELOPMENT CO., LTD. Free format text: FORMER OWNER: WUXI SI-POWER MICRO-ELECTRONICS CO., LTD. Effective date: 20150909 |
2015-09-30 | C41 | Transfer of patent application or patent right or utility model | |
2015-09-30 | TA01 | Transfer of patent application right |
Effective date of registration: 20150909 Address after: 214072 Jiangsu province Binhu District of Wuxi City Liyuan Development Zone 530 building (DiCui Road No. 100) Applicant after: WUXI YIRENYIDENG TECHNOLOGY DEVELOPMENT CO., LTD. Address before: 214028 Zhujianglu Road New District, Jiangsu, No. 51, Applicant before: WUXI SI-POWER MICRO-ELECTRONICS Co., LTD. |
2018-07-13 | RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141022 |
2018-07-13 | RJ01 | Rejection of invention patent application after publication |