SystemInfo

@objc(GSSystemInfo)
public protocol SystemInfo : Peripheral

System information.

In this peripheral you can retrieve all information relative to the system of the device.

This peripheral can be retrieved by:

device.getPeripheral(Peripherals.systemInfo)
  • Firmware version of the device.

    Declaration

    Swift

    var firmwareVersion: String { get }
  • Whether the device firmware version is blacklisted.

    If firmware is blacklisted, an update should be done as soon as possible. Some features of the device might be unavailable.

    Declaration

    Swift

    var isFirmwareBlacklisted: Bool { get }
  • Whether an update is required.

    Declaration

    Swift

    var isUpdateRequired: Bool { get }
  • Hardware version of the device.

    Declaration

    Swift

    var hardwareVersion: String { get }
  • Serial of the device. This serial is unique over all devices of the same type. It should be persistant, but may be changed on the factory partition of the device.

    Declaration

    Swift

    var serial: String { get }
  • Device board identifier.

    Declaration

    Swift

    var boardId: String { get }
  • Whether the reset settings is in progress.

    Declaration

    Swift

    var isResetSettingsInProgress: Bool { get }
  • Whether the factory reset is in progress.

    Declaration

    Swift

    var isFactoryResetInProgress: Bool { get }
  • Reset the settings of the device.

    Declaration

    Swift

    func resetSettings() -> Bool

    Return Value

    true if the reset is in progress

  • Do a factory reset on the device.

    Note

    This will produce a reboot of the device.

    Declaration

    Swift

    func factoryReset() -> Bool

    Return Value

    true if the factory reset has begun