generalMicros

Why it’s called Bluetooth Stack

Bluetooth has several protocol layers which form the Blue‐tooth protocol stack.
Controller and host stacks are the two main stacks in Bluetooth, where the controller stack contains the radio interface part, and the host stack deals with the high level data.
Controller stack functionality includes (not limited to): CRC generation and verification, AES encryption and preamble, access address, and air protocol framing.

If the controller stack is separated physically then an HCI layer (Host Controller Interface) will handle the communication between the host stack and controller stack. Mostly, it will be using USB or UART (using AT commands).

You can find in the market 2 types of Bluetooth solutions: 1- SoC: A single IC runs the application, the host, and the controller.
2- Dual IC over HCI: One IC runs the application and the host and interface using HCI with a second IC contains the controller (physical layer).

Bluetooth Protocol Stack
Bluetooth Protocol Stack. Image courtesy of THE BLUETOOTH REVOLUTION-Michael Trieu

The well known nrf51822 IC is an example of SoC type, and HC-05 is an example of dual IC over HCI type.

finally, several Bluetooth stacks are there: BlueZ for Linux, BlueDroid for Android and Apple has its own one.

Yahya Tawil

Embedded Hardware Engineer interested in open hardware and was born in the same year as Linux. Yahya is the editor-in-chief of Atadiat and believes in the importance of sharing free, practical, spam-free and high quality written content with others. His experience with Embedded Systems includes developing firmware with bare-metal C and Arduino, designing PCB&schematic and content creation.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *