Socket
Socket
Sign inDemoInstall

cordova-plugin-ble-central

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ble-central - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

3

CHANGES.txt

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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc