Peripheral

public class Peripheral : Identifiable
extension Peripheral: CustomDebugStringConvertible

It represents a peripheral along with its properties

  • id

    An identifier for the peripheral it is the same as the wrapped CBPeripheral

    Declaration

    Swift

    public var id: UUID { get }
  • The name of the peripheral it is the same as the wrapped CBPeripheral

    Declaration

    Swift

    public var name: String? { get }
  • The state of the peripheral it is the same as the wrapped CBPeripheral

    Declaration

    Swift

    public var state: PeripheralState { get }
  • The wrapped CBPeripheral

    Declaration

    Swift

    public let cbPeripheral: CBPeripheral
  • The rssi value of the peripheral

    Declaration

    Swift

    public var rssi: Int?
  • Extended description of the peripheral

    Declaration

    Swift

    public var debugDescription: String { get }