蓝牙BLE ATT剖析(一)
一.概述
The attribute protocol allows a device referred to as the server to expose a setof attributes and their associated values to a peer device referred to as the
client. These attributes exposed by the server can be discovered, read, and
written by a client, and can be indicated and notified by the server
属性协议允许一个设备扮演服务端的角色,其对端的设备扮演客户端的角色。服务端将属性及其关联的值暴露给客户端。客户端可以发现、读、写这些属性,服务端可以将这些属性设置为指示模式(主动将消息发送到客户端,需要客户端回应)或通知模式(主动将消息发送到客户端,不需要客户端回应)。