探索Bluetooth Low Energy之Generic Access Profile
1. Intial Discovery
2. Establishing the Intial Connection
1) 建立Service level connection需要首先建立RFCOMM连接,RFCOMM被认为是虚拟串口链接,其作为Service level connection连接的必备因素
2) 内部的事件或者用户行为触发RFCOMM链接被建立,接下来就是建立Service level connection
3) Service Level Connection采用了”应答“方式来相互沟通,比如"Hands Free"设备通知到”Audio Gateway“设备说:我先告诉Audio Gateway你“Hands Free”支持的一些功能集,然后等待你Audio Gateway答复我你支持的功能有什么,最后你Audio Gateway以回复”OK“信息作为本次对话结束的标志
AT+BRSF=<HF Supported feature> Hands Free -> Audio Gateway
+BRSF:<AG Supported feature> Hands Free <- Audio Gateway
OK Hands Free <- Audio Gateway
3. Service Characterization
4. Long-Term Relationships
5. Reconnection
1) 因为监管时限缘由可能将Service Level Connection断开,Hands Free可以重新建立链接,建立链接参考Figure 4.1: Service Level Connection Establishment
2) Hands Free不能保证Service Level Connection总是处于已连接状态