2***@qq.com
2***@qq.com
  • 发布:2019-08-22 16:07
  • 更新:2021-12-08 16:03
  • 阅读:1375

{"code":10007,"message":"property not support"}安卓分包发送数据第二次报错 请帮忙看下

分类:HTML5+

IOS环境下测试写入数据可以正常发送回调数据,但是在安卓下发送第一个数据包成功,第二个包就提示10007.请管理员帮忙查看一下问题 谢谢!
我用的发送uuid是:0000FF01-0000-1000-8000-00805F9B34FB

10:25:13.370 发送的数据包 = 2,162,12,118,207,213,207,114,96,15,236,157,190,11,126,239,159,111,0,0 at js/bluetooth.js:412
10:25:13.390 get characteristics success: 5 at js/bluetooth.js:448
10:25:13.410 0: {"uuid":"00001001-0000-1000-8000-00805F9B34FB","properties":{"read":true,"write":false,"notify":false,"indicate":false}} at js/bluetooth.js:450
10:25:13.430 1: {"uuid":"0000FF02-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":false,"notify":true,"indicate":false}} at js/bluetooth.js:450
10:25:13.450 2: {"uuid":"0000FF01-0000-1000-8000-00805F9B34FB","properties":{"read":false,"write":true,"notify":false,"indicate":false}} at js/bluetooth.js:450
10:25:13.470 3: {"uuid":"00001004-0000-1000-8000-00805F9B34FB","properties":{"read":true,"write":false,"notify":false,"indicate":false}} at js/bluetooth.js:450
10:25:13.490 4: {"uuid":"00001005-0000-1000-8000-00805F9B34FB","properties":{"read":true,"write":true,"notify":false,"indicate":false}} at js/bluetooth.js:450
10:25:13.510 写入数据失败: {"code":10007,"message":"property not support"} at js/bluetooth.js:422
10:25:13.530 第2数据包发送失败! at js/bluetooth.js:435
10:25:13.550 读取特征值的二进制数据操作完成回调函数: 10007 at js/bluetooth.js:436

2019-08-22 16:07 负责人:DCloud_Android_zl 分享
已邀请:
Interger

Interger - 12345

这个问题解决的方法为:在fail中监听code是不是10007,如果是10007则重新执行本次分包打印

  • 牛牛2021

    执行多次都是失败呢

    2022-09-21 22:19

这不是我没有

这不是我没有

有解决吗?

2***@qq.com

2***@qq.com

遇到相同问题,安卓端有时会发送失败:10007

两个纠缠之缘

两个纠缠之缘 - 一个程序猿

同样遇到 请问解决了吗~

该问题目前已经被锁定, 无法添加新回复