CN103916200A - Method enabling Bluetooth device to automatically enter radio-frequency test mode - Google Patents
Method enabling Bluetooth device to automatically enter radio-frequency test mode Download PDFInfo
- Publication number
- CN103916200A CN103916200A CN201410114633.5A CN201410114633A CN103916200A CN 103916200 A CN103916200 A CN 103916200A CN 201410114633 A CN201410114633 A CN 201410114633A CN 103916200 A CN103916200 A CN 103916200A
- Authority
- CN
- China
- Prior art keywords
- equipment
- bluetooth
- radio frequency
- frequency testing
- bluetooth 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.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method enabling a Bluetooth device to automatically enter a radio-frequency test mode. The method at least comprises the following steps: the Bluetooth device judges whether a far-end device is from a radio-frequency test device or a common Bluetooth device by acquiring and analyzing device related information sent by the far-end device; if it is determined that the far-end device is from the radio-frequency test device, the Bluetooth device enters a DUT test mode; if it is determined that the far-end device is not from the radio-frequency test device, the Bluetooth device and the far-end device conduct Bluetooth communication in a normal mode. According to the method enabling the Bluetooth device to automatically enter the radio-frequency test mode, the Bluetooth device can conveniently enter the test mode even if an external physical interface allowing the Bluetooth device to enter the radio-frequency test mode is not reserved in the Bluetooth device in the actual production process, Bluetooth radio-frequency indexes can be tested, and the process that a hardware engineer considers the way a Bluetooth product enters the radio-frequency test mode in the design and layout process is greatly simplified.
Description
Technical field
The present invention relates to the technical field of radio communication, particularly relate to a kind of method that makes bluetooth equipment automatically enter radio frequency testing pattern.
Background technology
Bluetooth (Bluetooth) is the radiotechnics of a kind of support equipment short haul connection (in general 10m), can comprise mobile phone, PDA, wireless headset, notebook computer, be correlated with and carry out wireless messages exchange between numerous equipment such as peripheral hardware.Utilize Bluetooth technology, can effectively simplify the communication between mobile communication terminal device, also communicating by letter between simplified apparatus and Internet successfully, thus make transfer of data become efficient more rapidly, be radio communication widening road.Because radio communication relates to the problem of communication distance and communication link quality, international bluetooth organizes every kind of blue tooth products of special requirement all to need by Bluetooth RF authentication test, and in Bluetooth specification, has defined special radio frequency testing instruction and radio frequency testing pattern.
Existing bluetooth equipment, in order to carry out Bluetooth RF test, generally by the manually lower special test instruction of the peripheral interfaces such as serial ports, USB or I2C, or carries out the test of Bluetooth RF pattern specially by the specific test program of programming.This mode manual or manual intervention is very inconvenient in actual production and test, particularly bluetooth equipment possibility self-organizing system itself, originally need not reserve in actual applications peripheral interface, but because consider that the later stage needs radio frequency testing, thereby need to reserve a peripheral interface or solder joint.This is unfavorable for design and the production of bluetooth equipment very much.
Particularly, with reference to Fig. 1, when bluetooth equipment enters radio frequency testing pattern in prior art, be all generally the outside port through PC, such as UART or USB interface and radio frequency testing equipment connection, allow bluetooth equipment enter radio frequency testing pattern by the instruction of local activation test pattern under PC.Be that bluetooth equipment enters radio frequency testing pattern by outside control command, thereby realize the dependence test of Bluetooth RF index.
Obviously, this method that enters radio frequency testing pattern is very inconvenient in the actual production process of bluetooth equipment, and this is to enter the reserved external interface of radio frequency testing pattern because will be thought of as especially bluetooth equipment.But in actual applications, likely bluetooth equipment self-organizing system need not communicate with external interface at all.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of method that makes bluetooth equipment automatically enter radio frequency testing pattern, do not need under extraneous prerequisite of intervening, make bluetooth equipment by analyzing the information obtaining alternately with remote equipment, carry out automatic sensing and reply whether need to enter radio frequency testing pattern.
For achieving the above object and other relevant objects, the invention provides a kind of method that makes bluetooth equipment automatically enter radio frequency testing pattern, at least comprise the following steps: step S1: the device-dependent message that bluetooth equipment is sent by obtaining and analyze remote equipment, judge that remote equipment is from radio frequency testing equipment or from common Bluetooth equipment; Step S2: if judge that remote equipment, from radio frequency testing equipment, enters DUT test pattern; Step S3: if judge that remote equipment is not from radio frequency testing equipment, bluetooth equipment and remote equipment carry out the Bluetooth communication of normal mode.
According to the above-mentioned method that makes bluetooth equipment automatically enter radio frequency testing pattern, wherein: step S1 comprises the following steps again:
Step S11: described bluetooth equipment is entered can pairing mode;
Step S12: described bluetooth equipment and described remote equipment obtain the device-dependent message of described remote equipment alternately;
Step S13: judge that according to described device-dependent message described remote equipment is as radio frequency testing equipment or common Bluetooth equipment.
Further, according to the above-mentioned method that makes bluetooth equipment automatically enter radio frequency testing pattern, wherein: the device-dependent message of described remote equipment comprises the version information of device name, the equipment of manufacturer, the equipment of the address of equipment, equipment, function that equipment is supported and the device class of equipment.
Further, automatically enter the method for radio frequency testing pattern according to the above-mentioned bluetooth equipment that makes, wherein: set up a radio frequency testing device databases according to producer's information of conventional Bluetooth RF testing equipment, information in the device-dependent message of the remote equipment that described bluetooth equipment is received and described radio frequency testing device databases compares, to judge that described remote equipment is from radio frequency testing equipment or from common Bluetooth equipment.
Automatically enter the method for radio frequency testing pattern according to the above-mentioned bluetooth equipment that makes, wherein: the radio frequency testing pattern that first activates described bluetooth equipment, described bluetooth equipment allows the connection of automatic reception from described remote test equipment again, and receives the test request of remote equipment.
Automatically enter the method for radio frequency testing pattern according to the above-mentioned bluetooth equipment that makes, wherein: if judge that remote equipment does not carry out self-testing device, described bluetooth equipment returns to normal communication pattern, and described bluetooth equipment and described remote equipment carry out normal bluetooth data communication.
As mentioned above, the method that makes bluetooth equipment automatically enter radio frequency testing pattern of the present invention, has following beneficial effect:
(1) need not in bluetooth equipment, reserve the external physical interfaces that enters radio frequency testing pattern, can access very easily radio frequency testing equipment, thereby carry out the test of Bluetooth RF index;
(2) simplified Hardware Engineer for the bluetooth equipment of self-organizing system when the design fabric swatch to entering the consideration of radio frequency testing pattern mode.
Brief description of the drawings
Fig. 1 is shown as the structural representation that makes bluetooth equipment manually enter radio frequency testing pattern of the prior art;
Fig. 2 is shown as in the present invention and makes bluetooth equipment automatically enter the flow chart of the method for radio frequency testing pattern;
Fig. 3 is shown as bluetooth equipment in the present invention and judges that whether remote equipment is the flow chart of radio frequency testing pattern;
Fig. 4 is shown as in the present invention and makes bluetooth equipment automatically enter the structural representation of Bluetooth RF test pattern.
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.
It should be noted that, the diagram providing in the present embodiment only illustrates basic conception of the present invention in a schematic way, satisfy and only show with assembly relevant in the present invention in graphic but not component count, shape and size drafting while implementing according to reality, when its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
With reference to Fig. 2 and Fig. 3, the method that makes bluetooth equipment automatically enter radio frequency testing pattern of the present invention specifically comprises the following steps:
Step S1: the device-dependent message that bluetooth equipment is sent by obtaining and analyze remote equipment, judge that remote equipment is from radio frequency testing equipment or from common Bluetooth equipment.
Particularly, step S1 comprises the following steps again:
Step S11: bluetooth equipment is entered can pairing mode.Common bluetooth equipment can enter this pattern.
Step S12: bluetooth equipment and remote equipment obtain some device-dependent messages alternately.Conventionally, device-dependent message comprises the address of equipment, the manufacturer of equipment, the device name of equipment, the version information of equipment, the function of equipment support and device class of equipment etc.
Particularly, bluetooth equipment and remote equipment are successfully inquired about after (Inquiry), paging (Page) operation, send in the process of connection request at the link management layer of remote equipment, bluetooth equipment can and obtain device class, the function of equipment support, the information such as manufacturer, the version of equipment of equipment to the title request of remote equipment initiating equipment.
Step S13: judge that according to device-dependent message remote equipment is as radio frequency testing equipment or common Bluetooth equipment.
In actual use, because Bluetooth RF testing equipment is mainly limited to that peace is vertical, the producer such as Agilent and Luo De and Schwarz, therefore can set up a radio frequency testing device databases according to producer's information of conventional Bluetooth RF testing equipment, information in the device-dependent message of the remote equipment of then bluetooth equipment being received and radio frequency testing device databases compares, to judge that remote equipment is from radio frequency testing equipment or from common Bluetooth equipment.
Step S2: if judge that remote equipment is from radio frequency testing equipment, bluetooth equipment enters DUT test pattern.
If judge that remote equipment is from radio frequency testing equipment, bluetooth equipment activates the radio frequency testing pattern of bluetooth equipment by calling HCI_Enable_Device_Under_Test_Mode order, then bluetooth equipment allows the connection of automatic reception from radio frequency testing equipment by calling HCI_Set_Event_Filter order.Now remote equipment sends LMP_test_activate PDU order to bluetooth equipment by link layer, and bluetooth equipment will be responded LMP_accepted PDU order, and receives the test request of remote equipment.
Step S3: if judge that remote equipment is not from radio frequency testing equipment, bluetooth equipment and remote equipment carry out the Bluetooth communication of normal mode.
If bluetooth equipment is not received LMP_test_activate PDU order within the regular hour, bluetooth equipment returns to normal communication pattern, and bluetooth equipment and remote equipment carry out normal bluetooth data communication.
Adopt of the present invention making after method that bluetooth equipment enters radio frequency testing pattern automatically, bluetooth equipment enters Bluetooth RF test pattern as shown in Figure 4.Without special outside port, between radio frequency testing equipment and bluetooth equipment directly by aerial data interaction, thereby judge whether bluetooth equipment needs automatically to enter radio frequency testing pattern.
It should be noted that, the method that makes bluetooth equipment automatically enter radio frequency testing pattern of the present invention is to implement in Bluetooth chip program curing, or implements in programmable Bluetooth chip product.This is because the present invention need to be solidificated in relevant design in blue tooth products by the form of software programming, only in programmable blue tooth products or Bluetooth chip, relevant design program Solidification can be entered.
In sum, the method that makes bluetooth equipment automatically enter radio frequency testing pattern of the present invention makes bluetooth equipment need not reserve the external physical interfaces that enters look amber test pattern in actual production, also can access very easily testing equipment, carry out the test of Bluetooth RF index.This is for the bluetooth equipment of self-organizing system, simplified greatly Hardware Engineer in the time of blue tooth products design fabric swatch to entering the consideration of radio frequency testing pattern mode.So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.
Claims (6)
1. make bluetooth equipment automatically enter a method for radio frequency testing pattern, it is characterized in that, at least comprise the following steps:
Step S1: the device-dependent message that bluetooth equipment is sent by obtaining and analyze remote equipment, judge that remote equipment is from radio frequency testing equipment or from common Bluetooth equipment;
Step S2: if judge that remote equipment, from radio frequency testing equipment, enters DUT test pattern;
Step S3: if judge that remote equipment is not from radio frequency testing equipment, bluetooth equipment and remote equipment carry out the Bluetooth communication of normal mode.
2. the method that makes bluetooth equipment automatically enter radio frequency testing pattern according to claim 1, is characterized in that: step S1 comprises the following steps again:
Step S11: described bluetooth equipment is entered can pairing mode;
Step S12: described bluetooth equipment and described remote equipment obtain the device-dependent message of described remote equipment alternately;
Step S13: judge that according to described device-dependent message described remote equipment is as radio frequency testing equipment or common Bluetooth equipment.
3. the method that makes bluetooth equipment automatically enter radio frequency testing pattern according to claim 2, is characterized in that: the device-dependent message of described remote equipment comprises the manufacturer of the address of equipment, equipment, the device name of equipment, the version information of equipment, the function of equipment support and the device class of equipment.
4. the method that makes bluetooth equipment automatically enter radio frequency testing pattern according to claim 2, it is characterized in that: in step S13, set up a radio frequency testing device databases according to producer's information of conventional Bluetooth RF testing equipment, information in the device-dependent message of the remote equipment that described bluetooth equipment is received and described radio frequency testing device databases compares, to judge that described remote equipment is from radio frequency testing equipment or from common Bluetooth equipment.
5. the method that makes bluetooth equipment automatically enter radio frequency testing pattern according to claim 1, it is characterized in that: in step S2, first activate the radio frequency testing pattern of described bluetooth equipment, described bluetooth equipment allows the connection of automatic reception from described remote test equipment again, and receives the test request of remote equipment.
6. the method that makes bluetooth equipment automatically enter radio frequency testing pattern according to claim 1, it is characterized in that: in step S3, if judge that remote equipment does not carry out self-testing device, described bluetooth equipment returns to normal communication pattern, and described bluetooth equipment and described remote equipment carry out normal bluetooth data communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410114633.5A CN103916200B (en) | 2014-03-25 | 2014-03-25 | A kind of method for making bluetooth equipment automatically into radio frequency testing pattern |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410114633.5A CN103916200B (en) | 2014-03-25 | 2014-03-25 | A kind of method for making bluetooth equipment automatically into radio frequency testing pattern |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103916200A true CN103916200A (en) | 2014-07-09 |
CN103916200B CN103916200B (en) | 2017-12-08 |
Family
ID=51041625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410114633.5A Expired - Fee Related CN103916200B (en) | 2014-03-25 | 2014-03-25 | A kind of method for making bluetooth equipment automatically into radio frequency testing pattern |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103916200B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202105A (en) * | 2014-09-24 | 2014-12-10 | 福建联迪商用设备有限公司 | Bluetooth device testing method and system |
CN105007598A (en) * | 2015-05-20 | 2015-10-28 | 惠州市凯越电子有限公司 | Production line bluetooth fixed point type connection test method |
CN106771970A (en) * | 2016-12-26 | 2017-05-31 | 歌尔科技有限公司 | A kind of electronic equipment and its test system |
CN112788643A (en) * | 2020-12-31 | 2021-05-11 | 南京瑞泓晟电力科技有限公司 | Wireless signal quality testing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090033572A1 (en) * | 2007-08-01 | 2009-02-05 | Research In Motion Limited | System and method of measuring total radiated power from mobile wireless communications device |
CN102291668A (en) * | 2011-07-12 | 2011-12-21 | 广州市立伟电子有限公司 | Method and system for testing Bluetooth earphones in batches |
CN102438055A (en) * | 2011-12-06 | 2012-05-02 | 广东欧珀移动通信有限公司 | Mobile phone automated testing method based on bluetooth communication |
-
2014
- 2014-03-25 CN CN201410114633.5A patent/CN103916200B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090033572A1 (en) * | 2007-08-01 | 2009-02-05 | Research In Motion Limited | System and method of measuring total radiated power from mobile wireless communications device |
CN102291668A (en) * | 2011-07-12 | 2011-12-21 | 广州市立伟电子有限公司 | Method and system for testing Bluetooth earphones in batches |
CN102438055A (en) * | 2011-12-06 | 2012-05-02 | 广东欧珀移动通信有限公司 | Mobile phone automated testing method based on bluetooth communication |
Non-Patent Citations (1)
Title |
---|
郑之光: "蓝牙设备的测试方案", 《数据通信》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202105A (en) * | 2014-09-24 | 2014-12-10 | 福建联迪商用设备有限公司 | Bluetooth device testing method and system |
CN105007598A (en) * | 2015-05-20 | 2015-10-28 | 惠州市凯越电子有限公司 | Production line bluetooth fixed point type connection test method |
CN106771970A (en) * | 2016-12-26 | 2017-05-31 | 歌尔科技有限公司 | A kind of electronic equipment and its test system |
CN112788643A (en) * | 2020-12-31 | 2021-05-11 | 南京瑞泓晟电力科技有限公司 | Wireless signal quality testing method |
CN112788643B (en) * | 2020-12-31 | 2022-11-22 | 南京瑞泓晟电力科技有限公司 | Wireless signal quality testing method |
Also Published As
Publication number | Publication date |
---|---|
CN103916200B (en) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102521922B1 (en) | An elelctronic device and method for operating access point information of the same | |
CN104868931B (en) | Methods and apparatus for wearable device authentication and operation | |
US20190215682A1 (en) | Provisioning wireless device profiles | |
US10743252B2 (en) | Method for identifying access point and hotspot and terminal | |
CN103190093A (en) | Method and apparatus for connecting wireless network in a digital device | |
CN105933888A (en) | Burning method and device of eSIM (Subscriber Identity Module) card based on NFC | |
CN103916200A (en) | Method enabling Bluetooth device to automatically enter radio-frequency test mode | |
US9641629B2 (en) | Distance-based network resource discovery | |
CN104639423A (en) | Information interaction method, information interaction device and terminals | |
CN105262792A (en) | Vehicle abnormality processing method and vehicle-mounted terminal | |
EP3314872B1 (en) | Location-based wireless device presentation and connection | |
JP2023169404A (en) | Communication apparatus, control method, and program | |
CN102983885A (en) | System and method for enhancing name readability of Bluetooth device | |
CN108260073B (en) | Gateway, gateway installation method and Internet of things device installation method | |
JP5632553B1 (en) | Display data generating apparatus and program | |
CN107071690B (en) | Automatic network sharing for authorized personal devices | |
EP3192285B1 (en) | Management capabilities for a wireless docking experience | |
CN106454299A (en) | Screen projection method and device between terminals, and terminal | |
CN115988524A (en) | Network equipment compatibility testing method, device, equipment and storage medium | |
CN103634360A (en) | Sharing application method, system and server of sensor function, and mobile terminals | |
CN103596249B (en) | The system and method for setting wireless network | |
CN106506623A (en) | A kind of data transmission method and equipment | |
CN102546038A (en) | Method for testing wireless fidelity (WIFI) signals | |
CN103873682B (en) | A kind of information processing method and electronic equipment | |
CN113966594A (en) | Method for configuring Internet of things equipment and Internet of things equipment |
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: 20171208 Termination date: 20200325 |