link layer. physical layer link layer host controller interface l2cap attribute protocol attribute...

16
Link Layer

Upload: katrin-doup

Post on 05-Apr-2015

123 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Link Layer

Page 2: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Physical Layer

Link Layer

Host Controller Interface

L2CAP

Attribute Protocol

Attribute Profile

PUID

Rem

ote

Cont

rol

Prox

imity

Batt

ery

Ther

mos

tat

Hea

rt R

ate

Page 3: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Link Layer States

Page 4: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Discovering Devices – Passive Scanning

Page 5: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Discovering Devices – Active Scanning

Page 6: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Broadcasting Data

Page 7: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Initiierung einer Verbindung

Page 8: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Verbindung mit sehr kleiner Latenz

Page 9: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Topology

Slave

Slave

Slave

Slave

Master

Advertiser

Scanner

Advertiser

Advertiser

Advertisement

Page 10: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Topology

Slave

Slave

Slave

Slave

Initiator

Advertiser

Scanner

Advertiser

Advertiser

Connection Request

Page 11: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Topology

Slave

Slave

Slave

Slave

Master

Advertiser

Scanner

Advertiser

Advertiser

Connected

Page 12: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Paketaufbau

• Alle Pakete haben den gleichen Aufbau– Präamble – 01010101 oder 10101010– Access Adresse – korellierte 32Bit Reihenfolge– Payload – aktuelle Daten– CRC – 24 Bit CRC zur Robusten Bit Error Erkennung

• CRC wird über die Payload generiert

Page 13: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Struktur von Advertising Paketen

Page 14: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Data Packet Header

Page 15: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Bit Stream Processing

1. Daten werden verschlüsselt (optional)2. CRC wird generiert3. Bleichen (“whitened”)4. Übertragen

Page 16: Link Layer. Physical Layer Link Layer Host Controller Interface L2CAP Attribute Protocol Attribute Profile PUIDRemote ControlProximityBatteryThermostatHeart

Link Layer Control