DeviceTelemetryConfiguration

public enum DeviceTelemetryConfiguration : Equatable, Sendable

NOTE: this is experimental code intended for Polar internal use only. Polar will not support 3rd party users with this API. Telemetry configuration that can hold different configuration types for different telemetry services. Use pattern matching to extract the appropriate configuration for the telemetry type.

  • Memfault MDS telemetry configuration with cloud upload parameters

    Declaration

    Swift

    case memfault(BleMdsClient.MemfaultTelemetryConfiguration)
  • Common device identifier across all configuration types

    Declaration

    Swift

    public var deviceIdentifier: String { get }
  • Data URI for uploading telemetry data (Memfault only, nil for other types)

    Declaration

    Swift

    public var dataUri: String? { get }
  • Authorization token for uploading telemetry data (Memfault only, nil for other types)

    Declaration

    Swift

    public var authorization: String? { get }
  • Supported features bitmask (type-specific meaning)

    Declaration

    Swift

    public var supportedFeatures: [UInt32]? { get }