bluetooth layer structure
TRANSCRIPT
![Page 1: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/1.jpg)
Bluetooth Layer Structure
Yong Heui Cho @ Mokwon University
Some of slides are referred to:[1] Victer Paul, Bluetooth, slideshare, 2011.[2] Erin Yueh, Android Bluetooth Introduction, slideshare, 2009.[3] Lawrence Harte, Introduction to Bluetooth, Althos, 2008.
![Page 2: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/2.jpg)
2
Smart Device M2M
4. Arduino - Bluetooth Setup
5. Android - Bluetooth Commo6. Bluetooth Layer Structure
7. Arduino - IoT Daisy Chain
![Page 3: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/3.jpg)
3
Why Bluetooth?• Aims at so-called ad hoc piconets
which are local area networks with a very limited coverage and without the need for an infrastructure.
• Designed to be used to connect both mobile devices and peripherals that currently require a wire
□ Courtesy to Victer Paul, Bluetooth, slideshare.
![Page 4: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/4.jpg)
4
Overview• Capacity– 1 Mbps per channel– Theoretical capacity of 79 Mbps cannot
be reached due to non-orthogonal hopping sequences
• Link types– Synchronous connection-oriented link
(SCO)– Asynchronous connectionless link (ACL)
• Topology and medium access control– Master-slave architecture
□ Courtesy to Victer Paul, Bluetooth, slideshare.
![Page 5: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/5.jpg)
5
Link Types• SCO (Synchronous Connection-Oriented)
– The SCO link is point-to-point between master and slave. The master maintains the link by using reserved timeslots at regular intervals. Packet retransmissions are not allowed.
• ACL (Asynchronous Connection-Less)– ACL provides packet-switched connections
between the master and all active slaves. Packet retransmissions are usually applied to assure data integrity.
□ Courtesy to Victer Paul, Bluetooth, slideshare.
![Page 6: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/6.jpg)
6
Protocol Stack
□ Courtesy to Victer Paul, Bluetooth, slideshare.
• OBEX: Object Exchange• RFCOMM: RF Communication • SDP: Service Discovery Protocol• TCS: Telephony Control Protocol• WAP: Wireless Application Protocol
![Page 7: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/7.jpg)
7
Bluetooth in Android
![Page 8: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/8.jpg)
8
Link Manager
□ Courtesy to Lawrence Harte, Introduction to Bluetooth, Althos.
• LM can setup, manage and terminate communication channels between devices. – ACL– SCO– Stream
![Page 9: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/9.jpg)
9
Host Controller Interface
□ Courtesy to Lawrence Harte, Introduction to Bluetooth, Althos.
• HCI allows the host stack or controller IC to be swapped with minimal adaptation.
![Page 10: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/10.jpg)
10
L2CA• Logical Link Control and
Adaptation• L2CA sets up and controls logical
channel packet with CID.
□ Courtesy to Lawrence Harte, Introduction to Bluetooth, Althos.
![Page 11: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/11.jpg)
11
Telephony Control
□ Courtesy to Lawrence Harte, Introduction to Bluetooth, Althos.
![Page 12: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/12.jpg)
12
Bluetooth Profiles• Bluetooth profiles are definitions of possible applications
and specify general behaviors that Bluetooth enabled devices use to communicate with other Bluetooth devices.
□ Courtesy to Lawrence Harte, Introduction to Bluetooth, Althos.
![Page 13: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/13.jpg)
13
GATT Profiles• GATT: Generic Attribute
![Page 14: Bluetooth Layer Structure](https://reader036.vdocuments.net/reader036/viewer/2022070518/58e7e6431a28abbc0b8b4e05/html5/thumbnails/14.jpg)
14
BR/EDR Profiles• BR/EDR: Basic Rate/Enhanced Data
Rate