微信小程序蓝牙使用总结

微信小程序获取蓝牙流程 注意点: wx.openBluetoothAdapter(Object object):初始化蓝牙模块。 其他蓝牙相关 API 必须在 wx.openBluetoothAdapter 调用之后使用。否则 API 会返回错误(errCode=10000)。 在用户蓝牙开关未开启或者手机不支持蓝牙功能的情况下,调用 wx.openBluetoothAdapter 会返回错误(e
相关文章
相关标签/搜索