• No results found

AUTOMOTIVE BLUETOOTH TELEPHONY.

N/A
N/A
Protected

Academic year: 2021

Share "AUTOMOTIVE BLUETOOTH TELEPHONY."

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

AUTOMOTIVE BLUETOOTH TELEPHONY.

COMBINING BlueZ AND THE MODERN VEHICLE.

Timo Müller, Mikel Astiz

(2)

Building Open Source IVI Stack for Bluetooth Use Cases using BlueZ, oFono and PulseAudio

feeding back APIs and architectural decisions into the GENIVI Alliance

AUTOMOTIVE BLUETOOTH TELEPHONY.

WHY ARE WE DOING THIS?

(3)

BLUETOOTH BASICS.

DATA TRANSPORT ARCHITECTURE.

L2CAP Channels

Logical Links

Logical Transports

Physical Links

Physical Channel

(cf. [1] Architecture &Terminology Overview, p. 39)

L2CAP Layer

Logical Layer

Physical Layer

(4)

BLUETOOTH BASICS.

PHYSICAL LAYER.

Physical Channel

• Frequency Hopping Sequence

• Access Code

• Packet Timing

Physical Link

represents a connection between Bluetooth devices

L2CAP Channels Logical Links Logical Transports

Physical Links Physical Channel L2CAP Layer

Logical Layer

Physical Layer

Master Slave

(see. [2] Core System Package, p. 71ff and 96ff)

(5)

BLUETOOTH BASICS.

LOGICAL LAYER.

Logical Transport

defines a communication channel with a set of characteristics:

• Flow control

• Acknowledgment and repeat mechanisms

• Sequence numbering

• Scheduling behaviour

Logical Link

associated with a logical transport supports applications with

different transport requirements

L2CAP Channels Logical Links Logical Transports

Physical Links Physical Channel L2CAP Layer

Logical Layer

Physical Layer

(see. [1] Architecture & Terminology Overview, p. 61)

(6)

Automotive Bluetooth Telephony, BMW Car IT GmbH

BLUETOOTH BASICS.

LOGICAL TRANSPORTS.

ACL (Asynchronous Connection-Oriented) Packet-switched communication

SCO (Synchronous Connection-Oriented) Circuit-switched communication

Page 6

L2CAP Channels Logical Links Logical Transports

Physical Links Physical Channel L2CAP Layer

Logical Layer

Physical Layer

Master Slave

Master Slave

(7)

BLUETOOTH BASICS.

LOGICAL LINK CONTROL AND ADAPTATION PROTOCOL LAYER.

L2CAP Channel

used for connection-oriented and connectionless data services offers

• Segmentation and reassembly of packets

• Flow Control

• Error Control and retransmission

L2CAP Channels Logical Links Logical Transports

Physical Links Physical Channel L2CAP Layer

Logical Layer

Physical Layer

(see. [3] Core System Package, p. 30ff)

(8)

HANDS-FREE PROFILE (HFP).

ROLES.

Cellular Network

(cf. [4] Hands-Free Profile 1.6, p. 14)

Hands-Free Unit (HF) Audio Gateway (AG) Headset

Hands-free car kit

Cellular connection Bluetooth

connection

(9)

SCO and eSCO (Audio)

HANDS-FREE PROFILE (HFP).

STRUCTURE.

Hands-Free Profile (HFP)

Controller(s)

Host Controller Interface (HCI) RFCOMM

Generic Access Profile

(GAP)

Logical Link and Adaption Layer (L2CAP)

Service Discovery Profile (SDP) Serial Port Profile (SPP)

AT CMD

(cf. [4] Hands-Free Profile 1.6, p. 10)

(10)

SCO and eSCO (Audio)

HANDS-FREE PROFILE (HFP).

STRUCTURE.

Hands-Free Profile (HFP)

Controller(s)

Host Controller Interface (HCI) Generic

Access Profile (GAP)

Logical Link and Adaption Layer (L2CAP)

Service Discovery Profile (SDP) Serial Port Profile (SPP)

AT CMD

(cf. [4] Hands-Free Profile 1.6, p. 10)

L2CAP Socket SCO Socket

RFCOMM RFCOMM Socket

(11)

SCO and eSCO (Audio)

HANDS-FREE PROFILE (HFP).

STRUCTURE.

Hands-Free Profile (HFP)

Controller(s)

Host Controller Interface (HCI) RFCOMM

Generic Access Profile

(GAP)

Logical Link and Adaption Layer (L2CAP)

Service Discovery Profile (SDP) Serial Port Profile (SPP)

(cf. [4] Hands-Free Profile 1.6, p. 10)

AT CMD

L2CAP Socket SCO Socket

RFCOMM Socket

(12)

ARCHITECTURE.

CORE COMPONENTS AND APIs.

oFono BlueZ D-Bus API Pulseaudio

Kernel

Bluetooth Hardware

Host Controller Interface (HCI) D-Bus API

Management Socket SCO Socket

RFCOMM Socket

(13)

ARCHITECTURE.

CORE COMPONENTS AND APIs.

Handle Connections

Handover RFCOMM

oFono Pulseaudio

User Interface (Human Machine Interface)

Handle audio streams

Suspend and resume

Echo cancellation and noise reduction

BlueZ

Handsfree API Media API

(14)

ARCHITECTURE.

CORE COMPONENTS AND APIs.

oFono BlueZ Pulseaudio

User Interface (Human Machine Interface)

Audio Control

Microphone Mute

Echo Cancellation / Noise Reduction

Policy Handling

Bluetooth Device Control

Device Inquiry

Device Pairing

Profile Activation

Priority Handling

Telephony Control

Dialing

Call Handling

(Accept, Reject, Hold)

Multiparty Call Handling

(15)

User Interface (Human Machine Interface)

ARCHITECTURE.

HUMAN MACHINE INTERFACE.

oFono BlueZ Pulseaudio

(16)

BLUETOOTH BASICS.

OTHER RELEVANT AUDIO PROFILES.

A2DP (Advanced Audio Distribution Profile)

• Setup, Control and manipulate streaming of compressed audio

• Stream high-quality Audio over ACL-Link AVRCP (Audio/Video Remote Control Profile)

• Control a media player and retrieve current status

• Browse and Search library of a media player HSP (Headset Profile)

• Full-duplex audio connection over SCO-Link

• Minimal device control

(17)

SINGLE PHONE USE CASES.

PUTTING CALLS ON HOLD.

Hold call Put call on hold

Activate held call

Activate call

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Active call

(18)

SINGLE PHONE USE CASES.

PRIVATE MODE (ACTIVE CALL).

Disconnect Audio

Connect Audio

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Enter private mode

Leave private mode

Active call

(19)

SINGLE PHONE USE CASES.

PRIVATE MODE (INCOMING CALL).

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Answer call

Ringing

Connect Audio Leave private mode

Active call

(20)

SINGLE PHONE USE CASES.

AUDIO PRIORITIES.

Answer call

Hang up call

Hang up call

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Audio stream (A2DP)

Ringing Active call

(21)

SINGLE PHONE USE CASES.

AUDIO PRIORITIES.

Answer call

Hang up call

Hang up call

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Audio stream (A2DP)

Ringing Active call

(22)

SINGLE PHONE USE CASES.

AUDIO PRIORITIES – UNDER THE HOOD.

Bluetooth connection Call active

Audio connection (HFP) Call on hold

Audio stream (A2DP)

oFono BlueZ Pulseaudio

Stop audio

Acquire()

PropertyChanged() SCO Socket

call_answer()

PropertyChanged(call active)

UI

+CIEV

new_call()

Answer SCO connect

Ringing ATA

OK

OK Notify

(23)

DEMO.

(24)

MULTI-PHONE USE CASES.

HOLD AND ANSWER.

Bluetooth connection Call active

Audio connection (HFP) Call on hold

1 2

1 2

Ringing Active call

Put call on hold

Hold and Answer

Answer call

(25)

MULTI-PHONE USE CASES.

SWAPPING CALLS.

Activate held call

Bluetooth connection Call active

Audio connection (HFP) Call on hold

1 2

1 2

Swap calls

Put call on hold Call on hold

Active call

(26)

MULTI-PHONE USE CASES.

AUTOMATIC REJECT.

Bluetooth connection Call active

Audio connection (HFP) Call on hold

1 2

1 2

Active call Call on hold

Ringing Reject Ringing

Reject

(27)

THE ROAD AHEAD.

• Wide band speech

• Transition to BlueZ 5.0

• Audio Routing

• IOP Testing

Used Versions:

BlueZ:

dbd9c3109e77088de3d7e35dec78524ba73d1ad4

oFono:

ce79121d27555dc8ad43b5db49a35db83a01a0b8

PulseAudio:

a423ee0f3d36b98baff64cc31558632e738b402d

(28)

THANK YOU VERY MUCH FOR YOUR INTEREST.

(29)

RESOURCES.

www.bluetooth.org www.bluez.org

www.genivi.org www.ofono.org

www.press.bmwgroup.com www.pulseaudio.org

[1] Bluetooth SIG, Specification of Bluetooth System, Core, v4.0, Volume 1: Architecture & Terminology Overview

[2] Bluetooth SIG, Specification of Bluetooth System, Core, v4.0, Volume 2: Core System Package [BR/DER Controller Volume]

[3] Bluetooth SIG, Specification of Bluetooth System, Core, v4.0, Volume 3: Core System Package [Host Volume]

[4] Bluetooth SIG, Specification of Bluetooth System, Profiles, Version 1.6, Hands-Free Profile

References

Related documents

The Bluetooth system allows users with a Bluetooth-enabled cell phone to make and receive hands-free calls using the vehicle audio system and controls.. The Bluetooth-enabled cell

This study investigated the effects of orthodontic tooth movement on the periodontium by analysing cytokine, tissue and bone metabolite levels within GCF. As

It investigates, among HIV-negative or unknown status MSM who reported recent sex: (1) the prevalence of depressive symptoms and the association with sociodemographic and

Rivaling the pyramids of Egypt or even the ancient cities of the Maya as an achievement, the army of terra-cotta warriors created to protect Qin Shi Huang, China's first emperor, in

For the next five annexes, Annex C through Annex G, the standard uses additional derivation materials from the Bluetooth core (Volume 1) and profiles (Volume 2) specifications

Therefore the software needs to be prepared to handle this error code correctly by either continuing with the normal boot process without the patch, or to try to apply a patch

The bullish harami candle can also occur in either bullish or bearish trends, but the colors are reversed: A large black body precedes a smaller white real body, and this gives out

in musical works – approach to be taken in determining question of infringement – assessment of originality and question of infringement – assessment of originality and substantial