Advertisement

Quick Links

BlueMod+B20/BT2.1
User Guide
Release r03

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BlueMod+B20 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Stollmann BlueMod+B20

  • Page 1 BlueMod+B20/BT2.1 User Guide Release r03...
  • Page 2: Table Of Contents

    2.3.2.1 Keyboard Report ................11 2.3.2.2 Mouse Report ................11 Secure Simple Pairing ..................12 3.1 SSP Connection Examples with BlueMod+B20 ........... 15 Connection Example “Just Works” ............ 16 3.1.1 Connection Example “Numeric Comparison” ........17 3.1.2 Connection Example “Passkey Entry” ..........18 3.1.3...
  • Page 3 OPP Frame Structure Example for Text File ........26 7.3.4 OPP Frame Structure Example for Image/jpg ........26 7.4 OPP Status Messages ................26 7.5 OPPC Transmission Examples with BlueMod+B20 ........27 7.5.1 Successful OPPC Transfer ............... 28 7.5.2 Failed OPPC Transfer ............... 29 7.5.3...
  • Page 4: Introduction

    HID profile is available in BlueMod+B20 firmware version V3.002 and later. This firmware implements the role device, device type combo device. A combo device can be connected to the serial interface of the BlueMod+B20. All Bluetooth HID specific information are described in chapter Profile.
  • Page 5 Firmware Startup Timing This chapter describes the startup timing of the Bluemod+B20. Firmware Upgrade The firmware of the BlueMod+B20 can be updated via RS232 or SPI interface. These different upgrade procedures are described in chapter Firmware Upgrade. Release r03 www.stollmann.de...
  • Page 6: Hid Profile

    BlueMod+B20/SPP/HID. 2.1.1 Set Own Service Profiles (S314) The BlueMod+B20 firmware sets the own service profile to SPP (0x01) by default. To use HID the register S314 has to be set to 0x10. To set more than one profile at the same time, refer to the detailed description of S314 in the document BlueMod+B20/BT2.1 AT Command Reference.
  • Page 7: Initiate Bluetooth Link

    BlueMod+B20/BT2.1 User Guide 2.1.5 Initiate Bluetooth Link To set up a connection from the BlueMod+B20 to a remote HID host, the ATD command is used with the profile identifier HID as described in the example below: ATD 0080371443AB,HID Connect to Bluetooth device 0080371443AB using the remote service...
  • Page 8: Hid Connection Examples

    The following flow charts will give an example for the configuration and connection establishment using the BlueMod+B20 and an iPhone with and without SSP. Onto these flow charts the local Bluetooth device (BT device A) is a BlueMod+B20. The destination is a iPhone with iOS 5.x.
  • Page 9: Connection Example With Iphone (Ssp "Passkey Entry")

    BlueMod+B20/BT2.1 User Guide 2.2.2 Connection Example with iPhone (SSP “Passkey Entry”) Release r03 www.stollmann.de Page 9 of 38...
  • Page 10: Hid Usage

    BlueMod+B20/BT2.1 User Guide 2.3 HID Usage The firmware supports an US HID keyboard layout to send standard keys. To send special keys the raw mode is implemented. 2.3.1 US Key Codes To send a key described in the table, the appropriate key code has to be sent to the host.
  • Page 11: Raw Mode

    BlueMod+B20/BT2.1 User Guide Key code Description 0x82 Cursor down 0x83 Cursor left 0x84 Insert 0x85 Delete 0x86 Home 0x87 0x88 Page up 0x89 Page down 0x8A – 0x9E Not used 0x9F Raw mode identifier 0xA0 – 0xFE Not used 2.3.2 Raw Mode To transmit special keys or mouse keys, the firmware supports sending HID reports in raw mode.
  • Page 12: Secure Simple Pairing

    BlueMod+B20/BT2.1 User Guide 3 Secure Simple Pairing For security reasons it is necessary to be able to recognize other Bluetooth devices and control the access to the local Bluetooth device. The “Secure Simple Pairing” (SSP) is the headline feature of Bluetooth 2.1 and the improved experience of the pairing procedure.
  • Page 13 (Bluetooth 2.0 compatible pairing mechanism) In this case both devices needs to enter the same PIN code of minimum four digits. The BlueMod+B20 uses the PIN code saved in the local register S318 (compare: BlueMod+B20/BT2.1 AT Command Reference). Possible combinations of I/O capabilities and the possibility of MITM protection are listed in the table below.
  • Page 14 BlueMod+B20/BT2.1 User Guide Remote device Display only Display Yes/No Keyboard only No input no output Just Works Numeric comparison Passkey entry Just Works (numeric comparison, both (both displayed, one automatic (one display, one input) (Numeric comparison, both Display only automatic confirmation)
  • Page 15: Ssp Connection Examples With Bluemod+B20

    BlueMod+B20. Onto these flow charts the local Bluetooth device (BT device A) and the destination side (BT device B) are configured with a BlueMod+B20. The destination can be changed to each other Bluetooth 2.1 device.
  • Page 16: Connection Example "Just Works

    BlueMod+B20/BT2.1 User Guide 3.1.1 Connection Example “Just Works” with I/O capabilities combination “no I/O” and “keyboard” Release r03 www.stollmann.de Page 16 of 38...
  • Page 17: Connection Example "Numeric Comparison

    BlueMod+B20/BT2.1 User Guide 3.1.2 Connection Example “Numeric Comparison” with I/O capabilities combination “display yes/no” on both sides Release r03 www.stollmann.de Page 17 of 38...
  • Page 18: Connection Example "Passkey Entry

    BlueMod+B20/BT2.1 User Guide 3.1.3 Connection Example “Passkey Entry” with I/O capabilities combination “keyboard” and “display yes/no” Release r03 www.stollmann.de Page 18 of 38...
  • Page 19: Power Down Modes

    4 Power Down Modes This chapter describes different power down modes and the prior conditions for these modes. The power down mode is available on BlueMod+B20/SPP/HID in firmware V3.002 and later. 4.1 Power Down Usage (S409) The power down functionality is disabled by default.
  • Page 20: Avaialable Power Down Modes

    BlueMod+B20/BT2.1 User Guide 4.3 Avaialable Power Down Modes Power Down Mode Conditions Power Consumption No Power Down Power Down deactivated (S409=0) normal operation Page/inquiry scan enabled (S316=3) 20pprox.. 2.5 mA (idle) DTR active (0V on LV-TTL level) Power Down active (S409=1)
  • Page 21: Remote Configuration

    The BlueMod+B20 can be configured via Bluetooth by using another Bluetooth device. Make sure the BlueMod+B20 is powered on and in range of the local Bluetooth device. By default the configuration port of the BlueMod+B20 is not accessible and not visible.
  • Page 22 BlueMod+B20/BT2.1 User Guide Release r03 www.stollmann.de Page 22 of 38...
  • Page 23: Out Of Range Detach

    BlueMod+B20/BT2.1 User Guide 6 Out Of Range Detach If enabled this feature detaches an active link if a given RSSI value is exceeded. It can be activated by setting the register S410 to 1, the default setting of S410 is 0.
  • Page 24: Obex File Transfer

    Example: ATD<Bluetooth address>,OPPC ATD<Bluetooth address>,1105 After the destination device accepts the call request from the BlueMod+B20 module the message “CONNECT” is sent to the local serial interface. 7.2 OPP Frame Structure After the connection is established the BlueMod+B20 can send the OPP frame as...
  • Page 25: Opp Frame Transmission

    (RTS/CTS). Please note to control the serial status line “UART_RTS“ (pin 24) of the BlueMod+B20 module in case of an active flow control situation. If the application does not react to the serial CTS status line of the BlueMod+B20 module some data of the OPP frame will get lost.
  • Page 26: Opp Frame Structure Example For Text File

    In case of a successful transmission the BlueMod+B20 module is reporting the following status message to the local serial interface: “OPPC ACCEPT”. If the destination side (OPP server) rejects the received OPP frame the BlueMod+B20 reports a negative status message “OPPC REJECT”.
  • Page 27: Oppc Transmission Examples With Bluemod+B20

    7.5 OPPC Transmission Examples with BlueMod+B20 The following flow charts will give examples with different OPPC transmission results between the BlueMod+B20 and the reference device. In our situation the reference device is a smart phone. The “Application” part will simulate the device at the end (DTE) which communicates to the local Bluetooth device or the application within the smart phone.
  • Page 28: Successful Oppc Transfer

    BlueMod+B20/BT2.1 User Guide 7.5.1 Successful OPPC Transfer Release r03 www.stollmann.de Page 28 of 38...
  • Page 29: Failed Oppc Transfer

    BlueMod+B20/BT2.1 User Guide 7.5.2 Failed OPPC Transfer Release r03 www.stollmann.de Page 29 of 38...
  • Page 30: Local Oppc Communication Error

    BlueMod+B20/BT2.1 User Guide 7.5.3 Local OPPC Communication Error Release r03 www.stollmann.de Page 30 of 38...
  • Page 31: Communication With Apple Devices

    Use the BSRV command to find the channel number of the service named “Wireless iAP”. To make the BlueMod+B20 visible to Apple devices the Class of Device (S302) has to be set to a value listed in the table below:...
  • Page 32: Startup Timing

    BlueMod+B20/BT2.1 User Guide 9 Startup Timing The following diagram shows the startup timing of the BlueMod+B20 based on firmware version 3.100. 130ms /DSR /DCD LED1 /RTS /Reset Command ready Initializing Firmware Startup The firmware is command ready 0.55s after the reset has been released.
  • Page 33: Firmware Upgrade

    PC without flow control. In this scenario DSR and UART_CTS have to be connected to ground via 10k resistor. Before starting the DFU software the baud rate of the BlueMod+B20 has to be set to the default value (115,200 bps).
  • Page 34: Stollmann Bluemod+B20 Updater

    All stored settings in the S registers will be lost and set to default values after the firmware update. Do not disconnect the device while the update is in progress, otherwise the update will fail and has to be repeated. In case it is not possible to update the BlueMod+B20 please contact the support. Release r03 www.stollmann.de...
  • Page 35: Firmware Upgrade Via Spi

    Run “InstParSpi.bat” Run “RegPSToolocx.bat” Reboot your PC 10.2.2 Upgrade Procedure Connect the SPI interface of the BlueMod+B20 to the parallel port of your PC using a SPI cable. For flashing new firmware, power-on the BlueMod+B20 and start the BlueFlash application (BlueFlash.exe).
  • Page 36 Note: Change PSKeys only if you are certain of all side effects. Normally, no changes in the PSKeys are needed to work with the BlueMod+B20. But if you configured the BlueMod+B20 such that it is not accessible anymore, e.g. you have...
  • Page 37: Troubleshooting

    User Guide Select the PSKey “User configuration data 0” and press the “Delete” button. Restoring PSKeys with PS Tool Step 2 After pressing the “Reset BC” button or power cycling the BlueMod+B20, it will operate on the factory-default settings. 10.3 Troubleshooting Update won’t start when using Stollmann BlueMod+B20 Updater...
  • Page 38: History

    Added chapter 9 Startup Timing, Added note for circuit of DSR and CTS in chapter 10.1.1 Prerequisites for Device Firmware Upgrade 22.06.2012 Release r03 Stollmann Entwicklungs- und Vertriebs-GmbH Phone: +49 (0)40 890 88-0 Mendelssohnstraße 15 D Fax: +49 (0)40 890 88-444...

This manual is also suitable for:

Bluemod+bt2.1

Table of Contents