HCI UART TRANSPORT LAYER

Similar documents
Using Xbee in Serial Communication

Host Controller Interface

The Secrets of Flow Control in Serial Communication

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

isco Connecting Routers Back to Back Through the AUX P

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

RS-232 COMMUNICATIONS

a8251 Features General Description Programmable Communications Interface

Application Note. Terminal Server G6

LAN / WAN Connection Of Instruments with Serial Interface By Using a Terminal Server

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920

DSX Master Communications

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

How To Use A Sunix Ser5037A Card On A Pc Or Mac Or Mac With A Microsoft Powerbook (Powerbook) With A Powercard (Powercard) And Powercard With A Mini Usb (Powerboard) With An

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

Application Note AN_241. FTDI_AOA_HyperTerm_User_Manual

DECT Module UM-9802 Datasheet

Introduction. Features. Industrial 2 ports RS-422/485 with Surge PCI-Express Low Profile Serial Card

USB TO SERIAL ADAPTER

2-port RS-422 / 485 Universal PCI

Future Technology Devices International Ltd. USB NMC-2.5m. USB to USB Null Modem Cable. Datasheet

TRP-C31M MODBUS TCP to RTU/ASCII Gateway

Process Control and Automation using Modbus Protocol

LDG Electronics External Meter Serial Communications Protocol Specification

[WIR-1186] 865MHz-869MHz Wireless Module(version 3.0) (3.3V)

Manual Serial PCI Cards

PCS0100en Persy Control Services B.V. Netherlands

Bluetooth Serial Adapter

2-port RS-232 High Speed Low Profile Universal PCI Serial Board

When we look at the connector pinout of the RS232 port, we see two pins which are certainly used

PCMCIA 1 Port RS EDITION OCTOBER 1999

USART and Asynchronous Communication

WHQL Certification Approval...2 User Interface K software FIFO 4 Universal PCI Interface...5 Ready for 64-bit System...5

Serial Over IP Ethernet Device Server

How to setup a serial Bluetooth adapter Master Guide

HOST Embedded System. SLAVE EasyMDB interface. Reference Manual EasyMDB RS232-TTL. 1 Introduction

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Elo Interactive Digital Signage (IDS): Remote Management

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

Configuration Guide. T.38 Protocol in AOS L1-29.1D September 2011

Bluetooth Health Device Profile and the IEEE Medical Device Frame Work

IP SERIAL DEVICE SERVER

MODBUS TCP to RTU/ASCII Gateway

PCI 2 Port Fast Serial Communication Adapter Card User Manual

VMR6512 Hi-Fi Audio FM Transmitter Module

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

EZL-50L User s Manual

PFB366 Profibus-DP Gateway User Manual

UART IP Core Specification. Author: Jacob Gorban

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

LS-101 LAN to Serial Device server. User s Manual

Remote Serial over IP Introduction on serial connections via IP/Ethernet

POS Integration. Prepared by: Binh Nguyen

Siemens DECT Engine MD32. Product Description. Information and Communication Products

LTM-1338B. Plus Communications Manual

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

Using FPGAs to Design Gigabit Serial Backplanes. April 17, 2002

1. MOXA NPort Express TCP/IP to RS-232 server

AN_2901CE_001 JULY 2005

Serial to Bluetooth Adapter

Communication Unit 560CMU05 Data sheet

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

Operation Manual of EX-9132C-2. Serial to TCP/IP Converter

RS232 Programming and Troubleshooting Guide for Turbo Controls

TASCAM SS-CDR200/SS-R200 CONTROL I/O Terminals RS-232C Protocol Specifications

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

Advanced Data Capture and Control Systems

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

RFID MODULE Mifare Reader / Writer SL031 User Manual Version 2.7 Nov 2012 StrongLink

Cabling Guide for Console and AUX Ports

Data sheet Wireless UART firmware version 4.02

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Configuring IP to Serial with Auto Answer and Serial to IP

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

Modbus and ION Technology

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Bluetooth UART/RS232 Module

2.8.3 / (Z80 Serial I/O)

Modbus and ION Technology

CAM-VGA100 User Manual

Application Note AN_243. FT312D USB Host to UART Cable Application

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

ADDENDUM - Bluetooth interface Option Instructions for using Extech Printer with a Bluetooth device

Technical Specifications for KD5HIO Software

CSMA/CA. Information Networks p. 1

A RF18 Remote control receiver MODULE

INFORMATICA INDUSTRIALE

Quectel Cellular Engine

IEC-101 Slave. ProLinx Communication Gateway IEC v3 Slave (Firmware version 3.xx) PROTOCOL MANUAL

INFORMATICA INDUSTRIALE

Sample EHG CL and EHG SL10 16-bit Modbus RTU Packet

I/O Device and Drivers

DCP COMMAND. bringing two-way communications to your DCPs

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Transcription:

Part H:4 HCI UART TRANSPORT LAYER An addendum to the HCI document This document describes the UART transport layer (between the Host and the Host Controller). HCI command, event and data packets flow through this layer, but the layer does not decode them.

BLUETOOTH SPECIFICATION Version 1.1 page 820 of 1084 820 22 February 2001

BLUETOOTH SPECIFICATION Version 1.1 page 821 of 1084 CONTENTS 1 General...824 2 Protocol...825 3 RS232 Settings...826 4 Error Recovery...827 22 February 2001 821

BLUETOOTH SPECIFICATION Version 1.1 page 822 of 1084 822 22 February 2001

BLUETOOTH SPECIFICATION Version 1.1 page 823 of 1084 1 GENERAL The objective of this is to make it possible to use the Bluetooth HCI over a serial interface between two UARTs on the same PCB. The assumes that the UART communication is free from line errors. See also HCI RS232 Transport Layer on page 797. Bluetooth Host Bluetooth HCI Bluetooth Host Controller General 22 February 2001 823

BLUETOOTH SPECIFICATION Version 1.1 page 824 of 1084 2 PROTOCOL There are four kinds of HCI packets that can be sent via the UART Transport Layer; i.e. HCI Command Packet, HCI Event Packet, HCI ACL Data Packet and HCI SCO Data Packet (see Host Controller Interface Functional Specification on page 535). HCI Command Packets can only be sent to the Bluetooth Host Controller, HCI Event Packets can only be sent from the Bluetooth Host Controller, and HCI ACL/SCO Data Packets can be sent both to and from the Bluetooth Host Controller. HCI does not provide the ability to differentiate the four HCI packet types. Therefore, if the HCI packets are sent via a common physical interface, a HCI packet indicator has to be added according to Table 2.11 below. HCI packet type HCI Command Packet HCI ACL Data Packet HCI SCO Data Packet HCI Event Packet HCI packet indicator 0x01 0x02 0x03 0x04 Table 2.1: HCI packet indicators The HCI packet indicator shall be sent immediately before the HCI packet. All four kinds of HCI packets have a length field, which is used to determine how many bytes are expected for the HCI packet. When an entire HCI packet has been received, the next HCI packet indicator is expected for the next HCI packet. Over the UART Transport Layer, only HCI packet indicators followed by HCI packets are allowed. 824 22 February 2001 Protocol

BLUETOOTH SPECIFICATION Version 1.1 page 825 of 1084 3 RS232 SETTINGS The uses the following settings for RS232: Baud rate: manufacturer-specific Number of data bits: 8 Parity bit: Stop bit: Flow control: Flow-off response time: no parity 1 stop bit RTS/CTS manufacturer specific Flow control with RTS/CTS is used to prevent temporary UART buffer overrun. It should not be used for flow control of HCI, since HCI has its own flow control mechanisms for HCI commands, HCI events and HCI data. If CTS is 1, then the Host/Host Controller is allowed to send. If CTS is 0, then the Host/Host Controller is not allowed to send. The flow-off response time defines the maximum time from setting RTS to 0 until the byte flow actually stops. The RS232 signals should be connected in a null-modem fashion; i.e. the local TXD should be connected to the remote RXD and the local RTS should be connected to the remote CTS and vice versa. RS232 Settings 22 February 2001 825

BLUETOOTH SPECIFICATION Version 1.1 page 826 of 1084 4 ERROR RECOVERY If the Host or the Host Controller lose synchronization in the communication over RS232, then a reset is needed. A loss of synchronization means that an incorrect HCI packet indicator has been detected, or that the length field in an HCI packet is out of range. If the UART synchronization is lost in the communication from Host to Host Controller, then the Host Controller shall send a Hardware Error Event to tell the Host about the synchronization error. The Host Controller will then expect to receive an HCI_Reset command from the Host in order to perform a reset. The Host Controller will also use the HCI_Reset command in the byte stream from Host to Host Controller to re-synchronize. If the UART synchronization is lost in the communication from Host Controller to Host, then the Host shall send the HCI_Reset command in order to reset the Host Controller. The Host shall then re-synchronize by looking for the HCI Command Complete event for the HCI_Reset command in the byte stream from Host Controller to Host. See Host Controller Interface Functional Specification on page535 for HCI commands and HCI events. 826 22 February 2001 Error Recovery