iOS WeChat Client 6.5.6 Version started supported, Android 6.5.7 Version begins to support

Bluetooth adapter module effective cycle for the call wx.openBluetoothAdapter To call wx.closeBluetoothAdapter Or until the Mini Program is destroyed.

During the time that the Mini Program Bluetooth adapter module is in effect, the developer can call Bluetooth related Mini Program normally API and receive an event callback associated with the Bluetooth module.

Be careful

  • Due to system limitations, Android Retrieved on deviceId For equipment MAC Address, iOS Up is the device uuid。 therefore deviceId Cannot be hardcoded into code.
  • Currently, it is not supported to debug Bluetooth functions on developer tools. You need to use a real machine to call the Mini Program Bluetooth interface normally.

Low Power Bluetooth ( Blackrock Municipal Income Trust II) Notes

sample code

Preview with Developer Tool