【发布时间】:2019-06-12 04:12:36
【问题描述】:
我使用 Python3 在我的 Raspberry pi 上开发了 BLE 外设,一切正常,但是当我从我的 iOS Central 应用程序扫描这个外设时,标题总是显示为空。
我已经尝试用self.local_name更改本地名称如下:
self.service_uuids = DBusStringArray([
SERVICE_UUID])
self.local_name = 'Build by akhzar'
self.include_tx_power = True
【问题讨论】:
-
是的,这是因为没有添加 AD 类型 0x09 请参考bluetooth.com/specifications/assigned-numbers/…
标签: python raspberry-pi bluez bluetooth-peripheral