帖子
帖子
用户
博客
课程
显示全部楼层
9
帖子
0
勋章
34
Y币

[多端开发] 蓝牙setNotify

[复制链接]
发表于 2021-12-7 16:02:30
你好,我用蓝牙1.1.9模块,setNotify没回调,其他都没问题。请问setNotify中propertie: ''    //字符串类型;特征的属性,取值范围如下:                         //broadcast:                         //read:                         //writeWithoutResponse:                         //write:                         //notify:                         //indicate:                         //authenticatedSignedWrites:                         //extendedProperties:                         //notifyEncryptionRequired:                         //indicateEncryptionRequired:

propertie一定要是文本形式的?我用蓝牙模块返回的propertie是“14”和“18”,是不是这样setNotify就没回调?如何修改?
380
帖子
4
勋章
6
Y币
没回调是接收数据不成功吗?

取值范围里没那两个数字,你没看错吗
您需要登录后才可以回帖 登录

本版积分规则