DeviceInfoMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class DeviceInfoMessage : FitMessage
FIT Device Information Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Device Index
Declaration
Swift
@FitField private(set) public var deviceIndex: DeviceIndex? { get set }
-
Device Type
Declaration
Swift
@FitField private(set) public var deviceType: DeviceType? { get set }
-
Manufacturer
Declaration
Swift
@FitField private(set) public var manufacturer: Manufacturer? { get set }
-
Serial Number
Declaration
Swift
@FitField private(set) public var serialNumber: UInt32? { get set }
-
Product
Declaration
Swift
@FitField private(set) public var product: UInt16? { get set }
-
Software Version
Declaration
Swift
@FitField private(set) public var softwareVersion: UInt16? { get set }
-
Hardware Version
Declaration
Swift
@FitField private(set) public var hardwareVersion: UInt8? { get set }
-
Cumulative Operating Time
Reset by new battery or charge
Declaration
Swift
@FitFieldDimension private(set) public var cumulativeOpTime: Measurement<UnitDuration>? { get set }
-
Battery Voltage
Declaration
Swift
@FitFieldDimension private(set) public var batteryVoltage: Measurement<UnitElectricPotentialDifference>? { get set }
-
Battery Status
Declaration
Swift
@FitField private(set) public var batteryStatus: BatteryStatus? { get set }
-
Sensor Body Location
Declaration
Swift
@FitField private(set) public var bodylocation: BodyLocation? { get set }
-
Sensor Description
Declaration
Swift
@FitField private(set) public var sensorDescription: String? { get set }
-
Transmission Type
Declaration
Swift
@FitField private(set) public var transmissionType: TransmissionType? { get set }
-
Device Number
Declaration
Swift
@FitField private(set) public var deviceNumber: UInt16? { get set }
-
ANT Network Type
Declaration
Swift
@FitField private(set) public var antNetwork: NetworkType? { get set }
-
Source
Declaration
Swift
@FitField private(set) public var source: SourceType? { get set }
-
Product Name
Declaration
Swift
@FitField private(set) public var productName: String? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
serialNumber: cumulativeOpTime: productName: manufacturer: product: softwareVersion: hardwareVersion: batteryVoltage: batteryStatus: deviceNumber: deviceType: deviceIndex: sensorDescription: bodylocation: transmissionType: antNetwork: source: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, serialNumber: UInt32? = nil, cumulativeOpTime: Measurement<UnitDuration>? = nil, productName: String? = nil, manufacturer: Manufacturer? = nil, product: UInt16? = nil, softwareVersion: UInt16? = nil, hardwareVersion: UInt8? = nil, batteryVoltage: Measurement<UnitElectricPotentialDifference>? = nil, batteryStatus: BatteryStatus? = nil, deviceNumber: UInt16? = nil, deviceType: DeviceType? = nil, deviceIndex: DeviceIndex? = nil, sensorDescription: String? = nil, bodylocation: BodyLocation? = nil, transmissionType: TransmissionType? = nil, antNetwork: NetworkType? = nil, source: SourceType? = nil)