蓝牙研发网

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6066|回复: 0

Attribute Protocol (ATT) 属性协议

[复制链接]
发表于 2014-7-31 21:20:04 | 显示全部楼层 |阅读模式
•An attribute is a discrete value that has associated with it the following three properties: 属性是一个离散值,与之关联的以下三个部分
1.A handle (address) 地址The address of the attribute in the table
2.A type 类型 Tells what the data represents
3.A set of permissions 一系列的权限

•ATT defines the over-the-air protocol for reading, writing, and discovering attributes
译文:ATT为读写、搜索属性而定义无线协议。

•Allows for different permissions to be assigned to attributes, including whether they are readable or writeable, and whether additional security is required for access
译文:为属性,允许分配不同权限,包括是否可读、可写,或者是否需要附加的安全接入

Servers have data, Clients want to use this data
服务端有数据,客户端想要使用这些数据

Servers expose data using attributes
服务端通过属性暴露数据

总结:ATT定义了无线协议,包含读、写、搜索等属性(Attribute)。也就是说,ATT的作用,以属性表示。属性包含三个部分:Handle、Type、Permissions。  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|蓝牙研发网 ( 粤ICP备14052215号-1 )

GMT+8, 2024-4-20 22:32 , Processed in 0.046875 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表