react-native-ble-manager
Advanced tools
Comparing version 11.2.1 to 11.3.0
@@ -41,2 +41,3 @@ /** | ||
manufacturerData?: Record<string, CustomAdvertisingData>; | ||
manufacturerRawData?: Record<string, CustomAdvertisingData>; | ||
serviceData?: Record<string, CustomAdvertisingData>; | ||
@@ -136,2 +137,14 @@ serviceUUIDs?: string[]; | ||
exactAdvertisingName?: string | string[]; | ||
/** | ||
* Android only. Filters scan results by manufacturer id and data. | ||
* `manufacturerId` usually matches the company id, can be given as a hex, e.g. 0xe4f7. | ||
* `manufacturerData` and `manufacturerDataMask` must have the same length. For any bit in the mask, set it to 1 if | ||
* it needs to match the one in manufacturer data, otherwise set it to 0. | ||
* https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder#setManufacturerData(int,%20byte[],%20byte[]) | ||
*/ | ||
manufacturerData?: { | ||
manufacturerId: number; | ||
manufacturerData?: number[]; | ||
manufacturerDataMask?: number[]; | ||
}; | ||
} | ||
@@ -138,0 +151,0 @@ /** |
@@ -41,2 +41,3 @@ /** | ||
manufacturerData?: Record<string, CustomAdvertisingData>; | ||
manufacturerRawData?: Record<string, CustomAdvertisingData>; | ||
serviceData?: Record<string, CustomAdvertisingData>; | ||
@@ -136,2 +137,14 @@ serviceUUIDs?: string[]; | ||
exactAdvertisingName?: string | string[]; | ||
/** | ||
* Android only. Filters scan results by manufacturer id and data. | ||
* `manufacturerId` usually matches the company id, can be given as a hex, e.g. 0xe4f7. | ||
* `manufacturerData` and `manufacturerDataMask` must have the same length. For any bit in the mask, set it to 1 if | ||
* it needs to match the one in manufacturer data, otherwise set it to 0. | ||
* https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder#setManufacturerData(int,%20byte[],%20byte[]) | ||
*/ | ||
manufacturerData?: { | ||
manufacturerId: number; | ||
manufacturerData?: number[]; | ||
manufacturerDataMask?: number[]; | ||
}; | ||
} | ||
@@ -138,0 +151,0 @@ /** |
{ | ||
"name": "react-native-ble-manager", | ||
"version": "11.2.1", | ||
"version": "11.3.0", | ||
"description": "A BLE module for react native.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -43,2 +43,3 @@ /** | ||
manufacturerData?: Record<string, CustomAdvertisingData>; | ||
manufacturerRawData?: Record<string, CustomAdvertisingData>; | ||
serviceData?: Record<string, CustomAdvertisingData>; | ||
@@ -142,2 +143,14 @@ serviceUUIDs?: string[]; | ||
exactAdvertisingName?: string|string[]; | ||
/** | ||
* Android only. Filters scan results by manufacturer id and data. | ||
* `manufacturerId` usually matches the company id, can be given as a hex, e.g. 0xe4f7. | ||
* `manufacturerData` and `manufacturerDataMask` must have the same length. For any bit in the mask, set it to 1 if | ||
* it needs to match the one in manufacturer data, otherwise set it to 0. | ||
* https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder#setManufacturerData(int,%20byte[],%20byte[]) | ||
*/ | ||
manufacturerData?: { | ||
manufacturerId: number; | ||
manufacturerData?: number[]; | ||
manufacturerDataMask?: number[]; | ||
} | ||
} | ||
@@ -144,0 +157,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
472418
3439