wx.onBLECharacteristicValueChange(function(res) {
  console.log(`characteristic ${res.characteristicId} has changed, now is ${res.value}`)
})

List of Bluetooth error codes (errCode).

Error code Description Note
0 Ok Normal
10000 not init The Bluetooth adapter was not initialized
10001 not available The current Bluetooth adapter is not available
10002 no device The specified device was not found
10003 connection fail The connection failed
10004 no service The specified service was not found
10005 no characteristic The specified feature value was not found
10006 no connection The current connection is disconnected
10007 property not support This operation is not supported by the current feature value
10008 system error Exceptions reported by all remaining systems
10009 system not support Android system is special, the system version below 4.3 does not support BLE
10010 no descriptor The specified descriptor was not found