您好,我发现在 LaunchPad 上切换示例程序后,我的 iPhone 无法看到新的 characteristic,是我遗漏了什么操作吗?
我的 iPhone 系统版本是 iOS17.1
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
发生这种情况是因为智能器件缓存了 GATT attribute handles,目的是为了加快重新连接过程。但这可能带来了无法刷新特征/服务的副作用。
您可以尝试以下几种方法:
1. 如要强制手机重新发现属性,必须清除手机的 Bluetooth GATT 缓存。如果器件先前已配对/绑定,可以在系统设置页面中,选择蓝牙,点击该设备进入详情页面,点击 忽略此设备,并重新配对该器件。
2. 您可以尝试让 iPhone 开启飞行模式,再关闭飞行模式,这样您的 iPhone 会重新连接该器件。
3. 您可以在 iPhone 设置页面,关闭蓝牙然后重新打开蓝牙。
希望能够帮上您。