Lines Matching refs:BLE

3 The **Bluetooth** module provides classic Bluetooth capabilities and Bluetooth Low Energy (BLE) sca…
1119 ## BLE section
1128 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.createGattServer](j…
1141 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1152 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.createGattClientDev…
1171 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
1179 Obtains the BLE devices connected to this device.
1182 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.getConnectedBLEDevi…
1192 | Array<string> | Addresses of the BLE devices connected to this device.|
1197 let result : Array<string> = bluetooth.BLE.getConnectedBLEDevices();
1205 Starts a BLE scan.
1208 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.startBLEScan](js-ap…
1229 console.info('BLE scan device find result = '+ JSON.stringify(data));
1231 bluetooth.BLE.on("BLEDeviceFind", onReceiveEvent);
1243 bluetooth.BLE.startBLEScan(
1253 Stops the BLE scan.
1256 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.stopBLEScan](js-api…
1269 bluetooth.BLE.stopBLEScan();
1277 Subscribe to the BLE device discovery events.
1280 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.on('BLEDeviceFind')…
1290 …Event type. The value **BLEDeviceFind** indicates an event reported when a BLE device is discovere…
1303 bluetooth.BLE.on('BLEDeviceFind', onReceiveEvent);
1311 Unsubscribes from the BLE device discovery events.
1314 …ce API version 7 and deprecated since API version 9. Use [bluetoothManager.BLE.off('BLEDeviceFind'…
1324 …Event type. The value **BLEDeviceFind** indicates an event reported when a BLE device is discovere…
1337 bluetooth.BLE.on('BLEDeviceFind', onReceiveEvent);
1338 bluetooth.BLE.off('BLEDeviceFind', onReceiveEvent);
1725 Starts BLE advertising.
1738 | setting | [AdvertiseSetting](#advertisesettingdeprecated) | Yes | Settings related to BLE a…
1739 | advData | [AdvertiseData](#advertisedatadeprecated) | Yes | Content of the BLE advert…
1740 | advResponse | [AdvertiseData](#advertisedatadeprecated) | No | Response to the BLE scan r…
1762 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1798 Stops BLE advertising.
1814 let server : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1836 | service | [GattService](#gattservicedeprecated) | Yes | Service to add. Settings related to BLE
1871 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1909 let server : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1930 let server : bluetooth.GattServer = bluetooth.BLE.createGattServer();
1978 let server : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2023 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2080 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2112 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2167 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2199 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2251 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2283 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2337 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2369 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2378 Subscribes to the BLE connection state changes.
2391 … | Yes | Event type. The value **connectStateChange** indicates a BLE connection state ch…
2392 …leconnectchangedstatedeprecated)&gt; | Yes | Callback used to return the BLE connection state. …
2406 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2415 Unsubscribes from the BLE connection state changes.
2428 … | Yes | Event type. The value **connectStateChange** indicates a BLE connection state ch…
2438 let gattServer : bluetooth.GattServer = bluetooth.BLE.createGattServer();
2452 Initiates a connection to the remote BLE device.
2470 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2479 Disconnects from the remote BLE device.
2497 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2524 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2535 Obtains all services of the remote BLE device. This API uses an asynchronous callback to return the…
2571 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2581 Obtains all services of the remote BLE device. This API uses a promise to return the result.
2600 let device : bluetooth.GattClientDevice= bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2612 Reads the characteristic value of the specific service of the remote BLE device. This API uses an a…
2645 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2670 Reads the characteristic value of the specific service of the remote BLE device. This API uses a pr…
2694 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2719 Reads the descriptor contained in the specific characteristic of the remote BLE device. This API us…
2752 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2767 Reads the descriptor contained in the specific characteristic of the remote BLE device. This API us…
2791 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2806 Writes a characteristic value to the remote BLE device.
2819 …aracteristicdeprecated) | Yes | Binary value and other parameters of the BLE device characterist…
2830 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2859 Writes binary data to the specific descriptor of the remote BLE device.
2872 …bledescriptordeprecated) | Yes | Binary value and other parameters of the BLE device descriptor.|
2883 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2903 … unit (MTU) that can be transmitted between the GATT client and its remote BLE device. This API ca…
2927 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2936 Sets the function of notifying the GATT client when the characteristic value of the remote BLE devi…
2949 | characteristic | [BLECharacteristic](#blecharacteristicdeprecated) | Yes | BLE characteristic t…
2973 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
2982 Subscribes to the BLE characteristic changes. The client can receive a notification from the server…
3010 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
3019 Unsubscribes from the BLE characteristic changes.
3042 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
3051 Subscribes to the BLE connection state changes.
3064 … | Yes | Event type. The value **BLEConnectionStateChange** indicates a BLE connection state ch…
3065 …leconnectchangedstatedeprecated)&gt; | Yes | Callback used to return the BLE connection state. …
3078 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
3087 Unsubscribes from the BLE connection state changes.
3100 … | Yes | Event type. The value **BLEConnectionStateChange** indicates a BLE connection state ch…
3110 let device : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice('XX:XX:XX:XX:XX:XX');
3119 Obtains the name of the remote BLE device. This API uses an asynchronous callback to return the res…
3132 | callback | AsyncCallback&lt;string&gt; | Yes | Callback used to return the remote BLE device na…
3143 let gattClient : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice("XX:XX:XX:XX:XX:…
3155 Obtains the name of the remote BLE device. This API uses a promise to return the result.
3168 | Promise&lt;string&gt; | Promise used to return the remote BLE device name.|
3174 let gattClient : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice("XX:XX:XX:XX:XX:…
3185 Obtains the received signal strength indication (RSSI) of the remote BLE device. This API uses an a…
3209 let gattClient : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice("XX:XX:XX:XX:XX:…
3222 Obtains the RSSI of the remote BLE device. This API uses a promise to return the result. It can be …
3241 let gattClient : bluetooth.GattClientDevice = bluetooth.BLE.createGattClientDevice("XX:XX:XX:XX:XX:…
3486 | state | [ProfileConnectionState](#profileconnectionstatedeprecated) | Yes | Yes | BLE connec…
3517 | deviceId | string | Yes | Yes | Address of the BLE device …
3518 | name | string | Yes | Yes | Name of the BLE device to …
3556 Enumerates the hardware match modes of BLE scan filters.
3607 Defines the BLE advertising parameters.
3616 | interval | number | Yes | Yes | Interval for BLE advertising. The minimum value is **32**…
3623 Defines the content of a BLE advertisement packet.
3639 Defines the content of a BLE advertisement packet.