# Architecture Source: [https://docs.qualcomm.com/doc/80-70014-13/topic/bt_architecture_overview.html](https://docs.qualcomm.com/doc/80-70014-13/topic/bt_architecture_overview.html) The Bluetooth software architecture consists of open-source and Qualcomm proprietary software. The following figure shows the command flow from the btapp to the host stack, then to the Bluetooth controller, and vice versa: Figure : Bluetooth software architecture  The Bluetooth software architecture consists of user space, kernel space, and Bluetooth controller. ## User space components The user space contains the following Bluetooth applications, core stack, and interface layers: | Component | Description | | --- | --- | | btapp sample application |
| | Fluoride stack | | | Bluetooth Interface (BTIF) layer | | | Core stack layer | | | Host Control Interface (HCI) | | | Audio Platform Abstraction Layer (PAL) | | ## Kernel space components The kernel space contains the following core components and drivers: | Component | Description | | --- | --- | | BlueZ Host Control Interface (HCI) core | | | Qualcomm Bluetooth driver | | | Universal Asynchronous Receiver/Transmitter (UART) serial