Home > Mobile >  Consult a train of thought.
Consult a train of thought.

Time:04-30

WeChat applet WX. The way A bluetooth notifyBLECharacteristicValueChange, tentatively called A method and A state state,
When open state, can the inside of the WX. OnBLECharacteristicValueChange, tentatively called B method, monitoring equipment sent to the bluetooth information data, there is now A problem is obtained by B values have been sent to come over, and are suppose to 10, when A device sends the last value is 10, (meaning from A value is 10, the back of the value is also 10, period, there is no change, until the last value is sent,) is there A way to know, send B method has ended, and to change the state of A method for closed,
  • Related