개요
스택 구조
크게 Application, Host, Controller로 나뉜다.
Host와 Controller 사이의 인터페이스 역할은 HCI가 수행한다.
HCI (Host Controller Interface)
프로토콜 스택은 다음과 같이 구성되어 있다.
Physical Layer
40개 Channel 중 3개 Channel은 Advertising Channel 이며, 각종 Advertising Packet을 비롯하여 Connection을 맺기 위해 주고 받는 Packet들의 교환에 이용된다.
나머지 37개의 Channel은 Data Channel 로써 Connection 이후의 Data Packet 교환에 이용된다.
Link Layer
Standby State
Advertising State
Scanning State
Initiating State
Connection State
(아래 그림은 각 State를 Diagram으로 나타낸 것이다.)
GAP (Generic Access Profile)
GATT (Generic Attribute Profile)