admin管理员组文章数量:1633030
1、作用
BLE server(Bluetooth device)的广播数据,client(手机App)可以根据该广播数据进行筛选,例如是否在app的兼容的设备中(只允许指定设备类型显示在已发现的列表中)。
2、举例
以Zound为例。
2.1 广播包数据格式
包含6部分:
1: Manufacturer ID. Value shall always be 0x065A (Zound Industries International AB)---2 bytes,stored as a 16-bit unsigned integer using little endian
2: Device Type. Above shows for adidas RPT-02---1 byte
3: Color (0x00= P1: First Perpetual color (default color))----1 byte
4: Device MAC address (unique for every unit)----6 bytes
5: Pairing mode (00=NOT in paring mode, 01=in pairing mode)---1 byte
6: Zound Service, shall always be AA00 (or 0xAA00).---2 bytes
2.2 client端看到的实际效果
NOTE:在Android设备上使用nRF Connect app
3、设备支持的service
本文标签: DataadvertisementBLEServiceamp
版权声明:本文标题:BLE---Advertisement data format & service 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1729148939a1187871.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论