CharacteristicDecodable

public protocol CharacteristicDecodable : AnyObject

Allows for Decoding Characteristics

  • Decodes Characteristic Data into Characteristic

    Declaration

    Swift

    static func decode<C>(with data: Data) -> Result<C, BluetoothDecodeError> where C : Characteristic

    Parameters

    data

    Characteristic Data

    Return Value

    Characteristic Result