17 链路层连接过程.md
五种状态
链接状态
bt-hci : 链路层的log 日志
- Standby State
This is the default state of the link layer. No packets are sent or received in this state.
From this state, a device can enter advertising state, scanning state or initiating
state. It cannot go into connection state directly from the standby state.
client: 由 scanner to initiating
If it’s in the scanning state, it may request for more information using SCAN_ REQ PDU.
If it’s in the initiating state, it may send a connect request using CONNECT_ REQ PDU.