Functions
The following functions are available globally.
-
Undocumented
Declaration
Swift
public func == (lhs: BluetoothError, rhs: BluetoothError) -> Bool -
Compare two characteristics. Characteristics are the same when their UUIDs are the same.
Declaration
Swift
public func == (lhs: Characteristic, rhs: Characteristic) -> BoolParameters
lhsFirst characteristic to compare
rhsSecond characteristic to compare
Return Value
True if both characteristics are the same.
-
Compare two descriptors. Descriptors are the same when their UUIDs are the same.
Declaration
Swift
public func == (lhs: Descriptor, rhs: Descriptor) -> BoolParameters
lhsFirst descriptor to compare
rhsSecond descriptor to compare
Return Value
True if both descriptor are the same.
-
Compare two peripherals which are the same when theirs identifiers are equal.
Declaration
Swift
public func == (lhs: Peripheral, rhs: Peripheral) -> BoolParameters
lhsFirst peripheral to compare
rhsSecond peripheral to compare
Return Value
True if both peripherals are the same
-
Compare if services are equal. They are if theirs uuids are the same.
Parameters
lhsFirst service
rhsSecond service
Return Value
True if services are the same.
View on GitHub
Functions Reference