WRAP THOR ASCII INTERFACE USER S MANUAL

Similar documents
iwrap User Guide Version 1.2

BLUETOOTH HID PROFILE

iwrap User Guide Version 2.0

FIRMWARE UPDATES USER GUIDE. Tuesday, 21 August Version 1.8

iwrap5 USER GUIDE Tuesday, 21 August 2012 Version 1.19

iwrap4 USER GUIDE Friday, 25 March 2011 Version 3.9

iwrap AND iwrap 6.0.0

Data sheet Wireless UART firmware version 4

Simply Blue Smart User s Guide

BlueCore. Operation of Bluetooth v2.1 Devices. Application Note. Issue 7

LMX9838 Cable Replacement

DIAL-UP NETWORKING PROFILE

BlueMod+B20/BT2.1. User Guide. Release r03

EH-MC-10. Command Interface User Guide. Ver 1.3

OBEXSender 2. User Guide. Version 2.4. M o n d a y, February 0 5,

Bluetooth. Bluetooth Radio

WRAP THOR WT11 Bluetooth Module. Description. Key Features. Bluetooth Class 1. Two antenna options: integrated chip antenna or U.

BLUETOOTH PBAP AND MAP PROFILES. iwrap APPLICATION NOTE

BLE232: Manual Copyright 2014 taskit GmbH

WF121 GUI SOFTWARE. User Guide. Saturday, 09 June Version 1.1

Product Specification

APPLICATION NOTE 4633 Bluetooth to 1-Wire Communication Using the DS9097U

kcserial User Guide version 2006.FEB.20

Users Guide. IDBLUE.HF and IDBLUE.UHF. IDBLUE Support

BGB203 BT 2.0 Serial Port Profile Module User s Guide. Rev December BGB203 ; Serial Port Profile ; Bluetooth

User Guide. Release r01

Firmware Reprogramming Guide

PCMS PCMC PCMI CTS DNC DNC PCMO RTS ESC ATN. Vdd. Vss. Summary

Bluetooth Configuration Guide

abserial User Guide 10 Feb 2015

iwrap and iwrap 6.2.0

_äìéi~ä» Implementing Streams in BlueLab. User Guide. November CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom

BlueSerial. Bluetooth Serial RS232 Port Adapters. User Manual HANTZ + PARTNER. The Upgrade Company!

Link-OS Environment Bluetooth Low Energy AppNote October 4, 2014

CARK 11 Bluetooth Receiver User s Manual

BLUEGIGA BLUETOOTH SMART SOFTWARE

Wireless-Tag WT51822-S4AT

BlueCore. Casira User Guide AN100. January 2002

Communication of passive RFID Reader and. FOX3-2G/3G/4G series via RS-232 serial link. and its use to identify RFID tags in

Room Control Module (2000i-RCM) Interface Command Structure. for the

BT740 Development Kit Quick Start Guide v1.2

Innovati s Bluetooth 100M Universal Wireless Bluetooth Module

RFCOMM with TS 07.10

Wifi Attachment Manual

BT 31 Data Sheet. Amp ed RF Technology Inc.

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-422/485 Serial Adapter. Model: BLE-485C. 1. Package content: BLE RS-422/485 adapter

Hints and tips when using RC1xx0 RF Modules

BLUETOOTH SMART READY SOFTWARE

kcenergy User Guide Introduction Hardware

AN Sleep programming for NXP bridge ICs. Document information

Boot Loader for the Z51F6412 MCU

March 21, BT22 Datasheet. Amp ed RF Technology, Co., Ltd.

DatraxRF Spread Spectrum Wireless Modem

Application Note Demonstrating the Serial Port Profile (SPP) Between BlueConnect and BTW 2002/5/29

USER MANUAL HPS-120. About this product: Your Communications Solutions Provider

Mobile Printer CMP-40 Utility Manual (V1.76)

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

Product Specification

BlueMoon Universal Embedded PBA31309 V1.00. SPP-AT SW, Version 3.3. I n t e l P u b l i c. Revision 1.1,

[MS-ABTP]: Automatic Bluetooth Pairing Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

10.1 SERIAL PORTS AND UARTS

Overview. Applications. Features. Pin assignment

RN52 Bluetooth Audio Module

Product Specification

A7 eb101 Serial Firmware Version A7 eb101/eb301 Bluetooth Serial Devices

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-232 Serial Adapter. Model: BLE-232D-E. 1. Package content: BLE RS-232 adapter

Serial console tool. To open the Serial console tool, select Serial console from the Tools drop-down menu in the toolbar.

Technical Reference Guide

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

[MS-TCC]: Tethering Control Channel Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

GW-USB-05. User's Guide. FW v1.07. IQRF USB Gateway MICRORISC s.r.o. User_Guide_GW-USB-05_ Page 1

BlueMod+B20/BT2.1. AT Command Reference. Release r06

RN-111B-EVAL IGRN111B-EVAL 3/10/2009. WiFly evaluation Kit. Features. Description. Getting Started

JetBox series Modbus Gateway User Manual

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

BT-22 Product Specification

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2

kcenergy User Guide DRAFT EDITION Introduction Serial Data Communications Hardware Supported Bluetooth Profiles

Nuscan 3200 Optical Laser Barcode Scanner

Doug Fleenor Design, Inc. RS-232 to DMX512 Interface, 2 Generation. March 8, 2010 (Software V1.2)

Application Note v1.2

UWTC-REC2 Configuration and Command Reference

ZICM357P2 - Evaluation Kit User s Guide

Using your standard Nokia mobile phone with the Logitech wireless hub

Bluetooth Module Application Scenarios

SoarTronic Bluetooth BT1 v.1 Owners manual

Bluetooth: Short-range Wireless Communication

6 Controlling the Technomad Encoder

Barcode (ASCII Read) Driver for DeltaV Programmable Serial Interface Card Series 2

Barcode (ASCII Read) Driver for DeltaV Programmable Serial Interface Card

_äìé`çêé» UART Host Transport Summary. February 2004


Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer

NPort Z2150 User s Manual

Bluetooth Embedded Module

XBee Starter Kit Getting Started Guide

Bluetooth Serial Adapter


1. Introduction. 2. Installation INSTALLATION INSTRUCTIONS: MCD USB MODULE

Manual. Specifications. Contents. Options

Transcription:

WRAP THOR ASCII INTERFACE USER S MANUAL

BlueGiga Technologies 2002-2003 BlueGiga Technologies assumes no responsibility for any errors which may appear in this manual, reserves the right to alter the devices, software or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. BlueGiga Technologies products are not authorized for use as critical components in life support devices or systems. The Bluetooth trademark is owned by the Bluetooth SIG Inc., U.S.A. and licensed to BlueGiga Technologies. All other trademarks listed herein are owned by their respective owners.

Table of Contents 1 INTRODUCTION...4 2 INSTALLATION...4 3 CONFIGURATION...4 4 MODES...5 5 USAGE...6 5.1 PIN CODE...10 5.2 CHANGING UART SETTINGS WITH BLUESUITE...10 6 TROUBLESHOOTING...11 6.1 I GET NO RESPONSE FROM THE ASCII COMMAND INTERFACE...11 6.2 I CAN CONNECT ONLY TO ONE DEVICE...11 7 KNOWN ISSUES...11 8 SUPPORT...11 List of Tables Table 1: PSTool Values...4 Table 2: ASCII Interface Modes...5 Table 3: ASCII Commands...7 Table 4: ASCII Command Interface Events...9 Table 5: Error Messages...10

1 INTRODUCTION WRAP THOR ASCII Command Interface is a software which allows easy access to Bluetooth functionality. It makes the radio interface totally transparent and host system can control connections with simple ASCII commands strings. This makes the transition to wireless world easy as no specific Bluetooth know-how has to be obtained. 2 INSTALLATION NOTE! In Evaluation Kit firmware is preinstalled. ASCII Interface firmware should be installed with BlueFlash to WRAP THOR module. Steps are given below: 1. Start BlueFlash 2. Stop Processor 3. Choose File -> vm_serial_bt.xdv 4. Download 3 CONFIGURATION NOTE! In Evaluation Kit these are already set as 115200,8,N,1. Using PSTool the module should be configured to match the baud rate, stop bits and other UART configurations of the host system. Typical configuration for 115200kbit/s, 8 data bits, 1 stop bits, no parity can be done by setting the following values: Table 1: PSTool Values PSKey Value UART Config 168 UART Baudrate 115200 Host Interface vm access to uart HQ Active False VM disable False Deep sleep state configuration Deep sleep will not be used

4 MODES The device can operate in two modes, the modes and transitions are given in Table 2 and Figure 1. Table 2: ASCII Interface Modes Mode Transition-to Requirements for transition to other mode Description mode of Command Mode Data Mode Successful call or In this mode the (initial state) incoming call will device can be change the mode to commanded to data mode perform various actions (See Chapter 4) such as inquiries etc... Command Mode Data Mode Been in Data mode This mode is used (Data mode visited) already, link is open when Bluetooth link is and used +++ to get to open and some command mode. Bluetooth related Then 1s idle and +++ action (like inquiry) and 1s idle will change has to be taken back to data mode. instead of just sending data. Data Mode Command At least 1s idle and In this mode all data is Mode three consecutive + sent totally characters and then at transparently from least 1s idle will RS-232 over the change the mode to Bluetooth RFCOMM command mode. link to other device (Ie. <1+ s idle> +++ <1s idle>)

Command Mode CALL or incoming connection Three consecutive + chars with 1s idle period at the beginning and end Data Mode Figure 1: State Transitions 5 USAGE ASCII Command Interface can be used from the HOST system by sending ASCII commands through UART. These commands should end with linefeed \n character. When installed and configured the module can be commanded from the host with the following commands:

Table 3: ASCII Commands Command and parameters INQUIRY [time] Meaning Device starts an inquiry for [time] seconds and returns all discovered devices in a following form (first devices as per found basis and finally all in a list): INQUIRY NAME [time] INQUIRY [BD_ADDR] [class_of_device] Example: INQUIRY 5 INQUIRY_PARTIAL 00:07:80:80:00:ae 12010c INQUIRY_PARTIAL 00:07:80:80:00:1f 12010c INQUIRY_PARTIAL 00:02:34:12:03:12 12010c INQUIRY 3 (=number of devices found) INQUIRY 00:07:80:80:00:ae 12010c INQUIRY 00:07:80:80:00:1f 12010c INQUIRY 00:02:34:12:03:12 12010c Same as above but gives also the names in the INQUIRY_PARTIAL messages. Example: INQUIRY 5 NAME INQUIRY_PARTIAL 00:07:80:80:00:ae 12010c Tom INQUIRY_PARTIAL 00:07:80:80:00:1f 12010c HandyA INQUIRY_PARTIAL 00:02:34:12:03:12 12010c Phaser INQUIRY 3 (=number of devices found) INQUIRY 00:07:80:80:00:ae 12010c INQUIRY 00:07:80:80:00:1f 12010c INQUIRY 00:02:34:12:03:12 12010c CALL [BD_ADDR] Device calls the device with BD_ADDR for [uuid] connection.

[uuid] RFCOMM Returns: CALL [link_id] CONNECT [link_id] RFCOMM 0 NOTE: After successful call, the device goes to data mode The supported uuids are: (Note that these have to be given without the 0x- prefix!) Serial Port Connection Object Push (not supported in version 1.0) Object File Transfer (not supported in version 1.0) 0x1101 0x1105 0x1106 Example for Serial Port Profile connection to machine 00:07:80:80:00:79 call 00:07:80:80:00:79 1101 rfcomm SET BT AUTH * [pin] SET HELP LIST Sets the default personal identification code (PIN) used for the Bluetooth connections. Shows the settings. Prints the available commands. Prints the connection information LIST [number_of_connections] LIST link_id 1 status type blocksize bytes_in bytes_out elapsed_time our_msc remote_msc bdaddr channel direction LIST link_id 2 status type blocksize bytes_in bytes_out elapsed_time our_msc remote_msc bdaddr channel direction LIST link_id n status type blocksize bytes_in bytes_out elapsed_time our_msc remote_msc bdaddr channel direction LIST 1 LIST 0 CONNECTED RFCOMM 666 4242 100 30 8d 8d 00:11:22:33:44:55 4 OUTGOING Status values are: WAITING, CONNECTED, and CLOSING. Type is always RFCOMM. Blocksize is the maximum transfer unit of the Bluetooth link,

only for statistics. Bytes_in and bytes_out are numbers of bytes transferred. Elapsed_time is the number of seconds the connection has been up. Msc is the link s MSC value for both ends. Bdaddr is the Bluetooth address of the connected device. Channel is the service channel of the connection. Direction is either OUTGOING or INCOMING. CLOSE [link_id] Closes the given connection identified by link_id Below are the events that the ASCII Command Interface can return when on Command Mode. Table 4: ASCII Command Interface Events Event and parameters Meaning RING [BD_ADDR] Device with Bluetooth address of BD_ADDR called us for RFCOMM. SYNTAX ERROR NO CARRIER [link_id] ERROR [Num][ErrStr] Unknown command Link is closed identified by handle. Possible error is also given. Errors are described in Table Table 5.

Table 5: Error Messages Error Messages NO CARRIER [link_id] ERROR 1 NO CARRIER [link_id] ERROR 3 NO CARRIER [link_id] ERROR 4 NO CARRIER [link_id] ERROR 5 NO CARRIER [link_id] ERROR 6 NO CARRIER [link_id] ERROR 7 NO CARRIER [link_id] ERROR 1,3,4,5,6,7 CONNECT_ERR NO CARRIER [link_id] ERROR 0 NO_LINK NO CARRIER [link_id] ERROR 1 PAIR_ERR NO CARRIER [link_id] ERROR 3 PAIR_ERR Meaning Timeout Disconnect, normal link shutdown Abnormal disconnect Remote refusal Service not supported Connect failed Same as above but when establishing Bluetooth link CLOSE issued when no Bluetooth link established Timeout when pairing Pairing failed 5.1 PIN CODE Initially the PIN code is set as empty. Use set bt auth * -command to set it. 5.2 CHANGING UART SETTINGS WITH BLUESUITE If you want to change settings of the UART do as follows: 1) Type BGT REBOOT_FOR_DFU in the ASCII Interface 2) Close Terminal software 3) Start PSTool software from the BlueSuite 4) Select BCSP as the protocol and select baud appropriately

5) With PSTool you can find the UART settings near the bottom of the list (they are alphabetically listed) 6) Change your settings 7) Select View -> Programmer ID s 8) Change the following settings: a. PSKEY_UART_CONFIG to 168 b. PSKEY_HOST_INTERFACE to vm_access_to_uart (or 4) c. PSKEY_VM_DISABLE to False 9) Close PSTool, start Terminal software and Reset the Evaluation Kit 6 TROUBLESHOOTING 6.1 I GET NO RESPONSE FROM THE ASCII COMMAND INTERFACE Make sure your terminal settings are correct. Use PSTool to check the UART settings from the WRAP THOR Bluetooth module and make similar settings into your terminal software. 6.2 I CAN CONNECT ONLY TO ONE DEVICE This is a constraint of the current version. Only one connection (point to point) at a time is supported. 7 KNOWN ISSUES After Service Discovery Protocol (SDP) query WRAP THOR module is no longer connectable and is not seen in inquiries. 8 SUPPORT Contact BlueGiga Technologies Inc. support at support@bluegiga.com

RECORD OF CHANGES Date Version Notes 13.3.03 1.0 Initial Version 4.4.03 1.01 Updates for AI release 1.1 and new mode change (data->command with <1s>+++<1s>) 3.6.03 1.02 Two new PSTool settings added: VM disable, deep sleep state configuration. Commands updated. 23.6.03 1.03 INQUIRY NAME updated. 3.7.03 1.04 Changing UART configuration