蓝牙profile的作用
蓝牙子系统应用程序的交互通过蓝牙profile实现。profile有些文献将其解释为子协议,似乎不是很准确,我依然以profile称呼它。蓝牙profile定义了蓝牙子系统分层结构中的每一层需要具有的功能和特性。
GAP(Generic Access Profile):基本的profile,每一个蓝牙设备都要实现该profile。对于BR/EDR,其定义了Radio,Baseband,Link Manager,L2CAP以及服务发现功能。对于LE,定义了Physical Layer,Link Layer,L2CAP,Security Manager,Attribute Protocol以及Generic Attribute Profile。
在BR/EDR中,GAP定义了设备发现,连接建立,安全,授权相关的模型和服务发现的行为和方法。
Physical channels, apart from the synchronization scan physical channel (which uses a set of fixed RF channels), are defined by a pseudo-random RF channel hopping sequence, the packet (slot) timing and an access code.
Five Bluetooth phy