添加蓝牙通讯握手
This commit is contained in:
@ -125,7 +125,7 @@ String.prototype.transFloat = function() {
|
||||
|
||||
//
|
||||
|
||||
if (uni.getSystemInfoSync().platform){
|
||||
if (uni.getSystemInfoSync().platform.toLowerCase()=='android' || uni.getSystemInfoSync().platform.toLowerCase()=='ios'){
|
||||
uni.onBluetoothAdapterStateChange(function(res) {
|
||||
if (!res.available) {
|
||||
isOpen = false
|
||||
|
Reference in New Issue
Block a user