蓝牙BLE ATT剖析(一)

来源:互联网 发布:自动生成报表软件 编辑:程序博客网 时间:2024/06/07 20:32

一.概述

The attribute protocol allows a device referred to as the server to expose a set 
of 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
属性协议允许一个设备扮演服务端的角色,其对端的设备扮演客户端的角色。服务端将属性及其关联的值暴露给客户端。客户端可以发现、读、写这些属性,服务端可以将这些属性设置为指示模式(主动将消息发送到客户端,需要客户端回应)或通知模式(主动将消息发送到客户端,不需要客户端回应)


二.架构


三.ATT DATA FORMAT


四.PDU总结

1.PUD ID

 

2.PDU requst and reponse

原创粉丝点击