cordova-plugin-ble-central
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -0,1 +1,4 @@ | ||
= 1.7.1 = | ||
Android: Add forceScanFilter option for Android (#989, #987) thanks younesspotmaster | ||
= 1.7.0 = | ||
@@ -2,0 +5,0 @@ iOS: Prevent API warnings on iOS if Bluetooth is disabled during timed scan |
{ | ||
"name": "cordova-plugin-ble-central", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Bluetooth Low Energy (BLE) Central Plugin", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -258,5 +258,6 @@ # Bluetooth Low Energy (BLE) Central Plugin for Apache Cordova | ||
Can be one of: _one_ | _few_ | _max_ | ||
- _phy_: String for [setPhy()](https://developer.android.com/reference/kotlin/android/bluetooth/le/ScanSettings.Builder#setphy) on Android. | ||
- _phy_: String for [setPhy()](https://developer.android.com/reference/kotlin/android/bluetooth/le/ScanSettings.Builder#setphy) on Android. | ||
Can be one of: _1m_ | _coded_ | _all_ | ||
- _legacy_: _true_ or _false_ to [control filtering](https://developer.android.com/reference/kotlin/android/bluetooth/le/ScanSettings.Builder#setlegacy) bluetooth spec.pre-4.2 advertisements on Android. | ||
- _forceScanFilter_: _true_ or _false_ to [to force an empty scan filter](https://github.com/don/cordova-plugin-ble-central/issues/987) if no other filters are provided on Android. | ||
- _reportDelay_: Milliseconds for [setReportDelay()](https://developer.android.com/reference/kotlin/android/bluetooth/le/ScanSettings.Builder#setreportdelay) on Android. _0_ to be notified of results immediately. Values > _0_ causes the scan results to be queued up and delivered after the requested delay or when the internal buffers fill up. | ||
@@ -263,0 +264,0 @@ - **success**: Success callback function that is invoked which each discovered device. |
@@ -46,2 +46,4 @@ declare namespace BLECentralPlugin { | ||
reportDelay?: number; | ||
/* Android only */ | ||
forceScanFilter?: number; | ||
@@ -48,0 +50,0 @@ reportDuplicates?: boolean; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327828
1114
1481