react-native-ble-manager
Advanced tools
Comparing version 7.6.1 to 7.6.2
@@ -123,5 +123,38 @@ declare module "react-native-ble-manager" { | ||
export interface PeripheralInfo { | ||
export interface Service { | ||
uuid: string; | ||
} | ||
export interface Descriptor { | ||
value: string; | ||
uuid: string; | ||
} | ||
export interface Characteristic { | ||
// See https://developer.apple.com/documentation/corebluetooth/cbcharacteristicproperties | ||
properties: { | ||
Broadcast?: "Broadcast"; | ||
Read?: "Read"; | ||
WriteWithoutResponse?: "WriteWithoutResponse"; | ||
Write?: "Write"; | ||
Notify?: "Notify"; | ||
Indicate?: "Indicate"; | ||
AuthenticatedSignedWrites?: "AuthenticatedSignedWrites"; | ||
ExtendedProperties?: "ExtendedProperties"; | ||
NotifyEncryptionRequired?: "NotifyEncryptionRequired"; | ||
IndicateEncryptionRequired?: "IndicateEncryptionRequired"; | ||
} | ||
characteristic: string; | ||
service: string; | ||
descriptors?: Descriptor[]; | ||
} | ||
export interface PeripheralInfo extends Peripheral { | ||
serviceUUIDs?: string[]; | ||
characteristics?: Characteristic[]; | ||
services?: Service[]; | ||
} | ||
export function retrieveServices( | ||
@@ -128,0 +161,0 @@ peripheralID: string, |
{ | ||
"name": "react-native-ble-manager", | ||
"version": "7.6.1", | ||
"version": "7.6.2", | ||
"description": "A BLE module for react native.", | ||
@@ -5,0 +5,0 @@ "main": "BleManager", |
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
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
202837
527