
Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
44
Ver.1.0.0
3. BLE Module
3.1 BLE SDK Software Architecture
3.1.1 Standard BLE SDK Architecture
Figure 3-1 shows a standard BLE SDK software architecture compliant with BLE Spec.
Profile 1
Generic Attribute Profile
Security Manager
Profile n
Logical Link Control and Adaption Protocol
Generic Access Profile
HCI
Attribute Protocol
Profile 2
Link Layer
Physical Layer
Controller
Host
...
Application
App
Figure 3-1 BLE SDK Standard Architecture
As shown above, BLE protocol stack includes two parts Host and Controller.
As BLE bottom-layer protocol, the
“Controller” contains Physical Layer (PHY) and Link
Layer (LL). Host Controller Inter (HCI) is the sole communication interface for all data
transfer between Controller and Host.
As BLE upper-
layer protocol, the “Host” contains protocols including Logic Link Control
and Adaption Protocol (L2CAP), Attribute Protocol (ATT), Security Manager Protocol
(SMP), as well as Profiles including Generic Access Profile (GAP) and Generic Attribute
Profile (GATT).
The “Application” (APP) layer contains user application code and Profiles of various
Services. User controls and accesses Host via “GAP”.
Host transfers data with Controller via “HCI”. See below.