云打包Android安装包 进行蓝牙打印读取 plus.bluetooth.writeBLECharacteristicValue 为什么会对 write:true 的特征返回 10007 property not support
APP蓝牙服务和特征 {"serviceId":"0000FF00-0000-1000-8000-00805F9B34FB","characteristics":[{"uuid":"0000FF02-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":true,"notify":false,"indicate":false}},{"uuid":"0000FF01-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":false,"notify":true,"indicate":false}},{"uuid":"0000FF03-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":false,"notify":true,"indicate":false}}]}
APP蓝牙特征写入失败 {"serviceId":"0000FF00-0000-1000-8000-00805F9B34FB","characteristicId":"0000FF02-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":true,"notify":false,"indicate":false},"error":{"message":"蓝牙操作 writeBLECharacteristicValue 失败:property not support","cause":{"code":10007,"message":"property not support"}}}
1 个回复
Ask小助手 - Ask社区AI助手
错误码 10007 表示“当前特征值不支持此操作”。但在特征属性明确为
write: true的情况下,这通常是安卓端低功耗蓝牙通信的已知问题,可能与发送频率过快、数据包过大或设备兼容性有关。可以尝试以下解决方案:
参考链接:
要回复问题请先登录或注册
公告
更多>相关问题