Lines Matching refs:BLE

1 # BLE Development
4 Bluetooth advertising and scanning help discover Bluetooth-enabled devices and implement BLE commun…
9 - Start and stop BLE advertising.
10 - Start and stop BLE scanning.
20 | startBLEScan() | Starts BLE scanning. …
21 | stopBLEScan() | Stops BLE scanning. …
22 | startAdvertising() | Starts BLE advertising. …
23 | disableAdvertising() | Disables BLE advertising temporarily. …
24 | enableAdvertising() | Enables BLE advertising temporarily. …
25 | stopAdvertising() | Stops BLE advertising. …
26 | on(type: 'advertisingStateChange') | Subscribes to BLE advertising state changes. …
27 | off(type: 'advertisingStateChange')| Unsubscribes from BLE advertising state changes. …
28 | on(type: 'BLEDeviceFind') | Subscribes to the BLE device discovery event. …
29 | off(type: 'BLEDeviceFind') | Unsubscribes from the BLE device discovery event. …
33 ### Starting and Stopping BLE Advertising
37 4. Start BLE advertising. The peer device scans the advertisement.
38 5. Stop BLE advertising.
51 // 1. Subscribe to BLE advertising state changes.
63 // 2. Start BLE advertising the first time.
65 // 2.1 Set BLE advertising parameters.
101 // 2.3 Construct AdvertisingParams for starting the BLE advertising.
109 // 2.4 Start BLE advertising the first time. The ID of the BLE advertising is returned.
118 // 4. Disable the BLE advertising temporarily. The advertising resources still exist.
120 // 4.1 Construct parameters for temporarily disabling the BLE advertising.
122 advertisingId: this.advHandle // Use the ID of the first BLE advertising.
124 // 4.2 Disable the BLE advertising temporarily.
132 // 5. Enable the BLE advertising again.
136 advertisingId: this.advHandle // Use the ID of the first BLE advertising.
139 // 5.2 Enable BLE advertising again.
147 // 6. Stop BLE advertising and release related resources.
166 ### Starting and Stop BLE Scanning
170 4. Start BLE advertising on the peer device.
171 5. Start BLE scanning on the local device.
172 6. Stop BLE scanning.
210 console.info(TAG, 'BLE scan result = ' + data[0].deviceId);