Lines Matching refs:BLE
14 完整的 JS API 说明以及实例代码请参考:[BLE 接口](../../reference/apis-connectivity-kit/js-apis-bluetooth-ble.md)。
20 | startBLEScan() | 发起BLE扫描流程。 …
21 | stopBLEScan() | 停止BLE扫描流程。 …
22 | startAdvertising() | 开始发送BLE广播。 …
23 | disableAdvertising() | 临时停止BLE广播。 …
24 | enableAdvertising() | 临时启动BLE广播。 …
25 | stopAdvertising() | 停止发送BLE广播。 …
26 | on(type: 'advertisingStateChange') | 订阅BLE广播状态。 …
27 | off(type: 'advertisingStateChange')| 取消订阅BLE广播状态。 …
28 | on(type: 'BLEDeviceFind') | 订阅BLE设备发现上报事件。 …
29 | off(type: 'BLEDeviceFind') | 取消订阅BLE设备发现上报事件。 …
208 console.info(TAG, 'BLE scan result = ' + data[0].deviceId);