Digianswer A S DGABTPA101 Bluetooth Protocol Analyzer User Manual PA v1 1 00 09 08
Digianswer A/S Bluetooth Protocol Analyzer PA v1 1 00 09 08
users manual
Digianswer A/S Bluetooth Protocol Analyser Installation & Operation Manual Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Contents CAUTION, 2 About this manual, 3 Unpacking, 3 Filter setup, 15 View setup, 16 Hex view, 16 Back to Baseband, 17 One level up/down, 17 Exit, 17 Introduction, 4 Installation, 5 Installing hardware and drivers, 5 Installing application software, 6 Uninstalling old programs, 6 Data Collector operation, 8 Features, 8 Main window, 9 Starting log session, 10 Stopping log session, 12 Opening old log session, 12 Saving log session, 12 Exit, 13 Bluetooth Packet Analyser operation, 13 Features, 13 Main window, 14 Opening a file, 15 Technical facts, 18 System requirements, 18 Upgrades, 18 Hardware specifications, 18 Bluetooth radio specifications, 18 Bluetooth Protocol Analyser packet format, 18 Appendices: A: Changes implemented since v1.0, 19 B: Packet format, 20 C: Regulatory statements, 22 D: Digianswer contact information, 23 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual CAUTION FCC Radio-Frequency Exposure Statement This equipment generates and radiates radio-frequency energy. In order to comply with FCC radio-frequency radiation exposure guidelines for an uncontrolled environment, this equipment has to be installed and operated while maintaining a minimum body-to-antenna distance of 20 cm. Users are not permitted to make changes or modify the system in any way. Digianswer Bluetooth Protocol Analyser Installation & Operation Manual About this manual This installation and operation manual provides you with the information you need to make maximum use of Digianswer’s Bluetooth™ Protocol Analyser. The manual is structured as follows: Note: This product has been designed for development purposes and is not to be sold to or used by end users. • The Introduction provides basic information on what the Bluetooth Protocol Analyser is and how it works. Legal disclaimer • The sections on Installation explain how to connect the USB-based hardware unit, install drivers, and install the software applications. Furthermore, this section contains information on necessary deinstallation of certain programs before the installation of the Bluetooth Protocol Analyser can take place. Any responsibility or liability for loss or damage in connection with the use of this product and the accompanying documentation is disclaimed. The information in this document is furnished for informational use only, is subject to change without notice, may contain errors or inaccuracies, and represents no commitment whatsoever. This agreement is governed by the laws of Denmark. • The sections on Operation provide instructions in how to use the Data Collector and the Bluetooth Packet Analyser respectively. Rev: 1.1 – 00-09-08 • Technical facts contains system requirements, upgrade information, and hardware specifications. Unpacking • The Appendices provide a list of the changes implemented since the previous version of the product. Also, you will find information on the packet format of the Bluetooth Protocol Analyser, allowing developers to build alternatives to Digianswer's Bluetooth Packet Analyser module. Finally, the manual contains various regulatory statements, and information on how to get in contact with Digianswer. The Bluetooth Protocol Analyser package contains the following items: • • • • Bluetooth USB Protocol Analyser Cable for Bluetooth USB Protocol Analyser Bluetooth Protocol Analyser CD-ROM Installation & operation manual Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Introduction Digianswer’s Bluetooth Protocol Analyser is a development kit that allows you to view Bluetooth protocol data and carry out fast and effective analysis during the process of developing Bluetooth equipment. • As an independent unit: In this configuration, the Bluetooth Protocol Analyser does not participate in the piconet; it only listens in, logging all baseband packets transmitted between the master and slaves of the piconet. Basically, the Bluetooth Protocol Analyser consists of a USBbased hardware unit and a software application called the Data Collector. With this equipment you can set up a log session during which you can intercept all the data transmitted between devices forming a Bluetooth piconet. • As a participant in the piconet: In this configuration, the Bluetooth Protocol Analyser is either the master or a slave of the piconet. The Bluetooth Protocol Analyser is attached to a computer running both the Data Collector application and Digianswer’s Bluetooth Software Suite*. The Data Collector logs all baseband packets transmitted from the computer to other participants of the piconet as well as the packets received by the computer. Accompanying the Bluetooth Protocol Analyser is a software application called the Bluetooth Packet Analyser, which is used for analysing the data logged during a session. The Bluetooth Packet Analyser can display all the baseband packets logged, and isolate, decode, and display LMP, L2CAP, RFCOMM, and SDP packets. Note: While using the Bluetooth Protocol Analyser, it is advisable not to run any other applications on your computer – the Bluetooth Software Suite being an exception. The Bluetooth Packet Analyser works as a plug-in for the Data Collector module. This is an open interface, which means that anyone is free to develop alternative Analyser modules for the Bluetooth Protocol Analyser. The Bluetooth Protocol Analyser can be used in two configurations: Digianswer’s Bluetooth Software Suite is automatically installed on your computer at the same time as the Bluetooth Protocol Analyser. Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Installation The installation procedure includes installing hardware, drivers, and software applications for the Bluetooth Protocol Analyser. In addition, Digianswer’s Bluetooth Software Suite will be installed. Note: If the Digianswer Bluetooth Demo Card or a previous version of the Bluetooth Software Suite is installed on your computer, you must uninstall this before you can install the Bluetooth Protocol Analyser. See the subsection “Uninstalling old programs” below. Installing hardware and drivers Note: When you have installed the drivers, Windows will ask if you want to restart your computer. However, it is not necessary to restart the computer before installing the application software. Note: When you have installed the drivers, your computer may appear frozen for some 30 seconds. Note: Do not remove the Bluetooth Protocol Analyser CDROM from your computer until you have installed the application software. To install the Bluetooth Protocol Analyser hardware and the drivers for it: 1. Insert the Bluetooth Protocol Analyser CD-ROM. 2. Plug the USB cable of the Bluetooth Protocol Analyser into an available USB port on the computer. Windows now finds the new hardware and asks for drivers. 3. Follow the on-screen steps to complete the installation of the drivers, which are located on the CD-ROM at D:\Drivers (where D: is your CD-ROM drive). Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Installing application software Uninstalling old programs Having connected the Bluetooth USB Protocol Analyser and installed the drivers, your are now ready to install the application software for the Bluetooth Protocol Analyser: the Data Collector and the Bluetooth Packet Analyser. At the same time you will be installing Digianswer’s Bluetooth Software Suite. If the Digianswer Bluetooth Demo Card or a previous version of the Bluetooth Software Suite is installed on your computer, you must uninstall this before you can install the Bluetooth Protocol Analyser. To uninstall the Bluetooth Demo Card: 1. Run D:\Setup.exe (where D: is your CD-ROM drive, where the Bluetooth Protocol Analyser CD-ROM is present). 2. Follow the on-screen instructions to complete the installation of the application software. 1. 2. 3. 4. 5. 6. Insert the Demo Card. Insert the Bluetooth Protocol Analyser CD-ROM. Run D:\deinstaller.exe (where D: is your CD-ROM drive). Follow the on-screen instructions. Remove the Demo Card. Restart your computer. 3. Restart your computer. You are now ready to operate your Bluetooth Protocol Analyser. To uninstall the Bluetooth Software Suite: To uninstall the application software: 1. From the Start menu, find and select Uninstall / Digianswer Bluetooth Software Suite. 2. Follow the on-screen instructions. 3. Restart your computer. Digianswer Bluetooth Protocol Analyser Installation & Operation Manual 5. Enter the \windows\inf directory and delete the following files: To uninstall the drivers: 1. Enter System Properties / Device Manager. 2. Locate and remove the Digianswer Bluetooth Demo Card Controller and the Digianswer Bluetooth Ethernet Adapter. Dgahub.inf Dganet.inf Dgapcc.inf Dgahub.inf Dgausb.inf Drvdata.bin and Drvidx.bin 6. Enter the \windows\system32\drivers directory and delete the following files: 3. Click OK. Digiusb.sys Note: At this stage, you may need the original Windows installation CD-ROM. Note: The computer may ask if you want to restart your computer. However, you need to delete the system files listed below. Therefore, DO NOT RESTART THE COMPUTER NOW! Dgamap.sys 7. Restart your computer. You can now install the Bluetooth Protocol Analyser, including the Bluetooth Software Suite as described in the sections “Installing hardware and drivers” and “Installing application software” above. 4. Start Explorer, enter your \windows\system directory, and delete the following files: Dgahci.vxd Dgal2cap.vxd Dganat.vxd Dgandis.vxd Dgapcc.sys and Dgapcc32.vxd Dgarfcom.vxd Dgasdp.vxd Dgausb.vxd and Dgavcomm.vxd Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Data Collector operation Features The purpose of the Data Collector is, basically, to listen in on the Bluetooth piconet to which it is connected, and create a log containing all the baseband packets transmitted between the Bluetooth devices participating in the piconet. With the Data Collector, you can: • Capture all baseband packets transmitted within a Bluetooth piconet – including packets that are normally not visible for the host such as retransmitted packets – and view the status of each packet (access error, packet header error, etc.), estimated clock and hop frequency. • Transmit and receive on a single user-defined frequency. • Turn data whitening on and off. • Select any specified hopping pattern: Europe/USA, Japan, France, or Spain. • Start/stop log sessions manually. Digianswer Bluetooth Protocol Analyser Installation & Operation Manual j File, Modules, and Help menus. The File menu contains Main window In this section, we will take a look at the Data Collector main window. In the following sections, we will go into detail with the various functions of the program. an item for each of the functions that you can use the Data Collector for: Opening logged files, saving files, starting log sessions, stopping log session, and quitting the Data Collector. These functions are described in the following sections. From the Modules menu, it is possible to add icons for alternative packet Analysers to the Data Collector window – see the description of l below. Finally, the Help menu offers easy access to the Digianswer homepage. k Five icons representing the functions of the Data Collector. These functions are also accessible from the File menu. The functions are described below. l Bluetooth Packet Analyser icon. When you have logged a new file, or opened an old file from the Data Collector, clicking this icon will conveniently open the corresponding file in Digianswer’s Bluetooth Packet Analyser. During the installation of the Bluetooth Protocol Analyser, the icon is placed in the registry: KEY_LOCAL_MACHINE\Software\Digianswer\ Bluetooth Protocol Analyser\Data Collector\Modules\Digianswer If you want to use an alternative packet Analyser, placing an icon for it in the Data Collector window is easily done via the Modules menu. m Various information on the current log file: Location, start and end times, number of baseband packets logged, log size, and date. n Status bar. Digianswer Bluetooth Protocol Analyser Starting log session Installation & Operation Manual We will now take a look at the three main items of this dialog box: Logging Mode, Hopping Mode, and Data Whitening. Logging Mode: Click this icon to open the Start new log session dialog box: Piconet Member Mode is to be used in connection with the Bluetooth Software Suite. When a log session is started, the Bluetooth Protocol Analyser logs all baseband packets sent from and received by your computer. In Independent Mode, the Bluetooth Protocol Analyser works as a stand-alone unit. Three kinds of synchronization modes can be selected: • Sync to piconet using master inquiry: In this mode the synchronization is obtained by performing an inquiry and using the clock information returned by the master to set the clock of the Protocol Analyser. (The master is chosen in a dialog box opened by clicking Select.) As in some Bluetooth devices the clock drifts away when the device is not in connect mode, this synchronization mode can be troublesome if it is desirable to monitor negotiations during the connect phase. This is due to the fact that there are often several seconds’ delay from the time when the Protocol Analyser obtains the master clock information until the master actually connects to the slave. Likewise, if the inquiry scan mode on the Bluetooth device is not implemented or disabled during the connection, this mode cannot be used for synchronization. 10 Digianswer Bluetooth Protocol Analyser • Sync to piconet using fake connection response: This mode can only be used during the connect phase, i.e. when the piconet master connects to a new slave. The Protocol Analyser pretends it is the slave unit chosen in the Select ... dialog box and obtains the master clock information by initiating a new connection as if it were that slave. Immediately after the clock information has been retrieved, the Protocol Analyser stops transmitting, and the piconet master continues the connection attempt with the true slave. • Sync to piconet using slave inquiry: This mode can only be used during the connect phase and is based on the same principle as the method mentioned above in connection with Sync to piconet using fake connection response. Instead of pretending to be the slave unit chosen in the Select ... dialog box, the Protocol Analyser listens for the clock information sent in the connect phase to the new piconet slave and therefore does not interfere with the piconet in any way. To be able to catch the clock information on the right frequency, it is necessary to obtain the slave clock. This is done by performing an inquiry to the slave. Installation & Operation Manual To select master or slave, click Select. The following dialog box opens: The Bluetooth Protocol Analyser will now carry out device discovery, and then display a list of all active Bluetooth devices within range. To select the master or slave you want to connect to, highlight the desired device in the above dialog box and click Select. You can edit the MAC address in the edit field, thus changing to a different address. 11 Digianswer Bluetooth Protocol Analyser Selecting Independent Mode also involves setting the number of seconds allowed to pass when there is no activity in the piconet. On timeout, the Bluetooth Protocol Analyser will inform you of the lack of activity. Note: When you use the Bluetooth Protocol Analyser in connection with the Bluetooth Software Suite, it has to be in piconet mode, i.e. working as a participant in a piconet. When the Bluetooth Protocol Analyser is in independent mode, i.e. working as a stand-alone unit, you cannot use it in connection with the Bluetooth Software Suite. Installation & Operation Manual Stopping log session Click this icon to stop the current log session. The Data Collector main window will now display information on the start and end times of the log session, number of baseband packets logged, and log size. Opening old log session Hopping Mode: Here you can select Normal hopping, specifying the hopping pattern of the geographical area. Or you can select Rx/Tx on single-frequency, including specifying the desired frequency. Click this icon to browse in Windows Explorer and open a previously stored log session. Data Whitening: Saving log session Data whitening can be turned on or off. By default, the function is set to on. Click this icon to save the current log session. The Bluetooth Protocol Analyser will save two versions of the log file: A .snf file to be opened from the Data Collector, and a .data file to be opened from the Bluetooth Packet Analyser. 12 Digianswer Bluetooth Protocol Analyser Exit Click this icon to quit the Data Collector. Installation & Operation Manual Bluetooth Packet Analyser operation Features The purpose of the Bluetooth Packet Analyser is, basically, to analyse and display the contents of log files created by means of the Data Collector. The Bluetooth Packet Analyser can: • Analyse baseband packets and display ID, IQ, NULL, POLL, FHS, DMx, DHx, HVx, and DV Packets. • Isolate, decode, and display LMP, L2CAP, RFCOMM, SDP commands, events and data packets. • Export to .CSV files with ‘:’ as separator. These files are readable with e.g. Microsoft Excel. 13 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual j File, View, and Help menus. From the File menu you can Main window In this section we will take a look at the main window of the Bluetooth Packet Analyser. In the following sections, we will go into detail with the various functions of the program. klm open files, view the properties of the current log file, and quit the program. From the View menu, you can view the filter and view setups; go directly to any packet number you want; search; and open the Packet Hex View window (see the section "Hex view" below). Finally, the Help menu offers easy access to the Digianswer homepage. k Icons representing the various functions of the Bluetooth Packet Analyser. These are described below. l View the last/next 25,000 packets (baseband packets are shown at intervals of 25,000). m Tabs for selecting which packets of the current log file you want to see – all baseband packets or specific types/levels of packets: LMP, L2CAP, RFCOMM, and SDP. n Tabs indicating which items you have selected in the view setup, where you can decide which elements you want the list view to show. o List view displaying the contents of the current log file as a list of the packets the file contains. p Status bar. q Various information on the packet currently highlighted in the list view. The nature of this information depends on the type and contents of the packet. 14 Digianswer Bluetooth Protocol Analyser Opening a file Installation & Operation Manual which list of packets is selected. The following example shows the dialog box as it appears when selected from Baseband: This function – Load Log session from file – will open a dialog box that allows you to browse and open a log file. The Protocol Analyser features especially fast load of files of sizes up to the available physical and virtual memory limitations. Files exceeding that size will be loaded less fast. Filter setup The filter function allows you to reduce the amount of data displayed in the list view. In Baseband, for instance, you can choose to view only LMP and L2CAP packets, rather than all the packets transmitted. This function can greatly reduce the number of packets on a list, making the list much easier to work with. The filter function needs to be selected for each of the lists – Baseband, LMP, L2CAP, RFCOMM, or SDP; applying the function to one of these lists will not affect the others. In the Filter Setup dialog box, you can select which list of packets the filter function should be applied to, and which data should be filtered. The choice of data varies depending on Although Baseband is, in principle, a list of all the packets logged in the current log file, these are filtered by default so that only LMP and L2CAP packets are shown in Baseband. However, you can change the settings as your desire. 15 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual View setup Hex view For each of the tabs representing a list of packets – Baseband, LMP, L2CAP, RFCOMM, or SDP – you can select which elements should be displayed in the list view. This is done in the View Setup dialog box. In the example below, the following elements have been selected for Baseband: Index, Rx/Tx, and Packet Type. The main window only shows part of what a packet contains (except at the RFCOMM and SDP level). However, you can view the entire contents of a packet – including packets that were fragmented during transmission – by opening the Packet Hex View dialog box. Here you can select Hex or Binary. Furthermore, selecting Stay On Top will keep the dialog box in front of any other Bluetooth Packet Analyser windows that you open. 16 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Back to Baseband Exit Click this icon to return to the list of baseband packets from any of the other lists of packets. Click this icon to quit the Bluetooth Packet Analyser. One level up/down When a packet is highlighted in the list view, you can navigate from one level of information to another by means of Enter (one level down) and Backspace (one level up). For instance, in Baseband, highlight an L2CAP packet, and press Enter. This will take you to the L2CAP level of the same packet. You can now return to Baseband by pressing Backspace, or proceed to the RFCOMM/SDP level (depending on the packet) by pressing Enter: Navigating from one level to another in the Bluetooth Packet Analyser: 17 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Technical facts System requirements Hardware specifications • Computer with a 266 MHz or higher processor; Pentium II recommended • Microsoft Windows 95 or later operating system (excluding Windows NT) • • • • • 64 MB RAM Bluetooth radio specifications • Free hard-disk space required: Approx. 100 MB (depending on the amount of data logged) • Designed in accordance with the Bluetooth specification version 1.0B • Monitor resolution: 1024 by 768 pixels or higher • Transmit power: +20dBm (100mW) • Receiver sensitivity:<-80dBm • Frequency range: 2.402 - 2.480 GHz Upgrades The Bluetooth Protocol Analyser is upgradeable via computer software. Information about new upgrades will be available from our web site: www.digianswer.com Compliant with the USB specification version 1.1 Powered by the computer Standby power consumption: <20mA Active power consumption: <350mA Bluetooth Protocol Analyser packet format The definition of the Bluetooth Protocol Analyser packet format is shown in Appendix B. 18 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Appendix A: Changes implemented since v1.0 The following is a list of the new features implemented in the Bluetooth Protocol Analyser version 1.1 (i.e. features not implemented in version 1.0, known as the ”Bluetooth Sniffer”): Data Collector • Three sync modes. • It is now possible to edit a selected master MAC address in the Start new session dialog box Master edit field. The format is 6 bytes in hex notation, values are separated by a colon (00:50:CD:01:00:04). • Support of correct selection of hop frequency for Europe/USA, France, Spain, and Japan. Packet Analyser • Export to .CSV files. • Faster file load with file sizes up to the available physical and virtual memory limitations. • Decoding of SDP packets across page boundaries. • Better recognition of SDP packets. 19 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Appendix B: Packet format The following table shows the packet format of the Bluetooth Protocol Analyser. Each [xx] represents one byte. Byte position Name Description [01] [02] Sync word Protocol Analyser packet type [03] Packet counter (15-8) [04] [05] [06] [07] Packet counter (7-0) Total length (7-0) Total length (15-8) Status byte The Digianswer specified sync word for the Protocol Analyser packet is 0xFF. Currently there is only one Protocol Analyser packet type: 0 (the one shown in this table). It provides a description of how to decode the packet from byte position 7 and onward. In the future, there may be additional packet types. The packet counter can be used to detect missing packets. Please note that packets are deleted if the host interface is too slow. The total length of the Protocol Analyser packet, not including the first six bytes. Receive direction 0x00 = Received packet OK Bit 0 = Access error Bit 1 = Packet header error (FEC 1/3) Bit 2 = Packet header error (HEC) Bit 3 = Payload recoverable error (FEC 1/3 or FEC 2/3) Bit 4 = Payload nonrecoverable error (FEC 2/3) Bit 5 = Payload error (CRC) Bit 6 = Type <> Length error Transmit direction 0x80 = Packet transmitted 20 Digianswer Bluetooth Protocol Analyser [08] [09] [10] [11] [12] Estimated clock (27-24) Estimated clock (23-16) Estimated clock (15-8) Estimated clock (7-0) Hop frequency [13] Header info: AM address (bit 2-0) Header info: Type (bit 3-0) Header info: FLOW (bit 0) Header info: ARQN (bit 0) Header info: SEQN (bit 0) Payload info: L_CH (bit 1-0) Payload info: FLOW (bit 0) Payload info: Length (bit 8) Payload info: Length (bit 7-0) 1st payload data byte 2nd payload data byte ... ... ... 338th payload data byte [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] ... ... ... [359] Installation & Operation Manual Piconet master clock The frequency offset “k” used for this packet F = (2402 + k) MHz If packet type is ID or IQ, this parameter is not valid If packet type is ID: 255 If packet type is ID or IQ, this parameter is not valid If packet type is ID, IQ, NULL, POLL, HV1, HV2, HV3 or FHS, this parameter is not valid Tx/Rx payload data bytes. Note that Tx data bytes are bit-reversed 21 Digianswer Bluetooth Protocol Analyser Installation & Operation Manual Appendix C: Regulatory statements General Japan This product complies with any mandatory product specification in any country where the product is sold. In addition, the product complies with the following. United States of America and Canada Tested To Comply With FCC Standards FOR HOME OR OFFICE USE. See FCC 47CFR part 15.19(b)(2). This device complies with part 15 of the FCC rules and with RSS-210 / RSS-139 of the Industry Canada. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Note that any changes or modifications to this equipment not expressly approved by the manufacturer may void the FCC authorization to operate this equipment. Japan office: Address: European Union (EU) and EFTA This equipment complies with the R&TTE directive and has been provided with the CE mark accordingly. Note that the radio frequency band used by this equipment has not been harmonized in all of the EU. Phone Fax: E-mail: BIA Inc. No. 202 Gobancho House 4-22 Gobancho Chiyoda-Ku, Tokyo 102-0076 03 5276 5984 03 5276 0625 biasib@gol.com 22 Digianswer Bluetooth Protocol Analyser Appendix D: Digianswer contact information Skalhuse 5 DK-9240 Nibe Denmark Phone: +45 9671 0000 Fax: +45 9835 0052 E-mail: BluetoothPA@Digianswer.com Web site: www.digianswer.com Installation & Operation Manual Digianswer A/S Bluetooth Protocol Analyser
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.3 Linearized : No Creator : Microsoft Word Create Date : 11. September 2000 08:47 Title : PA v1.1 00-09-08.PDF Author : Bo Weinreich Producer : Acrobat PDFWriter 3.02 for Windows Subject : Modify Date : 2000:11:21 12:33:07+01:00 Page Count : 25EXIF Metadata provided by EXIF.tools