`
tryqaz
  • 浏览: 4382 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
社区版块
存档分类
最新评论

BLE一些重要点理解

阅读更多
1、关于每一个蓝牙attribute中的permission理解
Attribute Permissions is part of the Attribute that cannot be read from or written to using the Attribute Protocol. It is used by the server to determine whether read or write access is permitted for a given attribute。
2、关于属性(server与client对profile的访问属性)
client对server的访问总是以server提供给client的服务的方式,而server提供的服务均注册在一个attribute上面,每一个server对应一个attribute,一个attribute必须包含a service declaration,可以选择包含include definitions and characteristic definitions。
重点说characteristic definitions,characteristic definition必须包含一个a characteristic declaration 和 a characteristic value declaration,可以选择包含characteristic descriptor declaration。其中,最主要的两个参数就是a characteristic declaration 和 a characteristic value declaration,a characteristic declaration中的Attribute Value代表client对该characteristic value值的访问属性,a characteristic value declaration中的permission代表server对该value的访问权限。
  • 大小: 56.5 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics