|
[插件使用]
ble蓝牙模块使用无法调取成功呢
[复制链接]
后台已经添加了BLE模块,但调用不成功,测试包与LOADER调试都不行,请各位大佬赐教!
var ble = api.require('ble');ble.initManager(function(ret) { if (ret.state == "poweredOn") { api.alert({ msg: "初始化成功" }); }});运行没有提示
[2023-10-30 1:29:17][ERROR] Uncaught TypeError: Cannot read property 'scan' of undefined at sm_shouhuo.html:305
[2023-10-30 1:29:17][ERROR] Uncaught TypeError: Cannot read property 'scan' of undefined at sm_shouhuo.html:1
|
|