//11.開啟藍牙配接器 openBluetoothAdapter
//21.開始搜索藍牙設備 startBluetoothDevicesDiscovery
//31.開啟監聽搜索藍牙設備 onBluetoothDeviceFound
//30.停止監聽搜索藍牙設備 offBluetoothDeviceFound
//20.停止搜索藍牙設備 stopBluetoothDevicesDiscovery
//10.關閉藍牙配接器 closeBluetoothAdapter
//41.連接設備 createBLEConnection
//51.監聽設備連接狀態 onBLEConnectionStateChange
//61.獲取設備服務 getBLEDeviceServices
//71.獲取設備特征 getBLEDeviceCharacteristics
//81.開啟特征變化訂閱 notifyBLECharacteristicValueChange -true
//91.開啟監聽特征值變化 onBLECharacteristicValueChange
//90.關閉監聽特征值變化 offBLECharacteristicValueChange
//80.關閉特征變化訂閱 notifyBLECharacteristicValueChange - false
//50.關閉監聽設備連接狀態 offBLEConnectionStateChange
//40.斷開設備 closeBLEConnection
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/546858.html
標籤:HTML5
上一篇:canvas畫板(滑鼠和觸摸)
下一篇:了解 HTTP 看這一篇就夠