蓝牙-低功耗中心设备

//11.开启蓝牙适配器 openBluetoothAdapter //21.开始搜索蓝牙设备 startBluetoothDevicesDiscovery //31.开启监听搜索蓝牙设备 onBluetoothDeviceFound //30.停止监听搜索蓝牙设备 offBluetoothDevi ...

//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

声明:本站所有文章,如无特殊说明或标注,均为爬虫抓取以及网友投稿,版权归原作者所有。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧