Attribute Protocol (ATT) 属性协议

本文深入探讨了属性(Attribute)及其在ATT(Attribute Protocol)中扮演的角色,详细阐述了如何通过属性进行数据传输,以及权限管理、协议定义在实际应用中的重要性。同时强调了服务端与客户端之间的数据交互过程,展示了属性如何作为关键组件,促进高效的数据使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

•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。  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值