react-native-ble-manager 11.5.4 → 11.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/Helper.swift +2 -2
- package/package.json +1 -1
package/ios/Helper.swift
CHANGED
|
@@ -165,13 +165,13 @@ class Helper {
|
|
|
165
165
|
|
|
166
166
|
static func key(forPeripheral peripheral: CBPeripheral,
|
|
167
167
|
andCharacteristic characteristic: CBCharacteristic) -> String {
|
|
168
|
-
return "\(String(describing: peripheral.uuidAsString))|\(characteristic.uuid)"
|
|
168
|
+
return "\(String(describing: peripheral.uuidAsString()))|\(characteristic.uuid)"
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
static func key(forPeripheral peripheral: CBPeripheral,
|
|
172
172
|
andCharacteristic characteristic: CBCharacteristic,
|
|
173
173
|
andDescriptor descriptor: CBDescriptor) -> String {
|
|
174
|
-
return "\(String(describing: peripheral.uuidAsString))|\(characteristic.uuid)|\(descriptor.uuid)"
|
|
174
|
+
return "\(String(describing: peripheral.uuidAsString()))|\(characteristic.uuid)|\(descriptor.uuid)"
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
static func findDescriptor(fromUUID UUID: CBUUID, characteristic: CBCharacteristic) -> CBDescriptor? {
|