GapEventType

public enum GapEventType : UInt16
extension GapEventType: Encodable

Generic Access Profile Event Type

  • RSSI Changed

    Declaration

    Swift

    case rssiChanged = 0x001A
  • Advertisment Report

    Declaration

    Swift

    case advertismentReport = 0x001B
  • Scan Request Report

    Declaration

    Swift

    case scanRequestReport = 0x001E
  • Security Request

    Declaration

    Swift

    case securityRequest = 0x001C
  • Connection Param Update Request

    Declaration

    Swift

    case connectionParamUpdate = 0x001D
  • Unknown

    Declaration

    Swift

    case unknown = 0xFFFF
  • Undocumented

    Declaration

    Swift

    public var description: String { get }
  • Encodes this value into the given encoder.

    If the value fails to encode anything, encoder will encode an empty keyed container in its place.

    This function throws an error if any values are invalid for the given encoder’s format.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    The encoder to write data to.