Device

public struct Device

A device has several configuration parameters that can be useful to a host that is sending it instructions. This message type describes a Zorb device and its capabilities.

  • Undocumented

    Declaration

    Swift

    public var hardwareVersion: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var bootloaderVersion: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var firmwareVersion: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var name: String = String()
  • Undocumented

    Declaration

    Swift

    public var actuators: [Actuator] = []
  • Undocumented

    Declaration

    Swift

    public var bluetoothID: String = String()
  • Undocumented

    Declaration

    Swift

    public var usbID: String = String()
  • Declaration

    Swift

    public var unknownFields = SwiftProtobuf.UnknownStorage()
  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public static let protoMessageName: String = "Device"
  • Declaration

    Swift

    public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
  • Declaration

    Swift

    public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws
  • Declaration

    Swift

    public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws
  • Declaration

    Swift

    public static func ==(lhs: Device, rhs: Device) -> Bool