createBLEPeripheralServer调用为什么报错?
wx.createBLEPeripheralServer is not a function;at App getPlatform function;at api openBluetoothAdapter complete callback function
TypeError: wx.createBLEPeripheralServer is not a function
框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | BLE | 工具 | 7.0.16 | 2.0.8 |
2 个回答
怎么推送新版本基础库?
你好,请推送新版本的基础库后重试,该接口从基础库2.10.3开始支持。https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-peripheral/wx.createBLEPeripheralServer.html