Device information
Methods
refreshDeviceInfo(forced:completion:)
Refresh device information
- Parameters:
- forced: forced refresh
refreshFirmwareVersion(forced:completion:)
Refresh device level 3 version
- Parameters:
- forced: forced refresh
Device information model description
- IDODeviceInterface
Property | Type | Description |
---|---|---|
deviceMode | Int | Device mode 0: Sports mode, 1: Sleep mode |
battStatus | Int | Battery status 0: Normal, 1: Charging, 2: Full, 3: Low battery |
battLevel | Int | Battery level 0~100 |
rebootFlag | Int | Whether to reboot 0: Not rebooted 1: Reboot |
bindState | Int | Binding status 0: Unbound 1: Bound |
bindType | Int | 5: Screen click vertical confirmation and cancellation, confirmation is on the top 6: Screen click vertical confirmation and cancellation, confirmation is on the bottom 7: Click (a button on the right) |
bindTimeout | Int | Binding timeout Maximum is 15 seconds, 0 means no timeout |
platform | Int | 60: Tailingwei+5340+no nand flash, 70: Goodix+Furuikun, 80:5340 |
deviceShapeType | Int | Device shape type 0: Invalid; 1: Round; 2: Square; 3: Ellipse |
deviceType | Int | Device type 0: Invalid; 1: Bracelet; 2: Watch |
dialMainVersion | Int | Custom dial main version Starting from 1 0: The corresponding custom dial function is not supported |
showBindChoiceUi | Int | The check UI interface is displayed when the firmware is bound 0: Not required 1: Required |
deviceId | Int | Device ID |
firmwareVersion | Int | Device firmware major version number |
macAddress | Int | Current device mac address - without colon |
macAddressFull | Int | Current device mac address - with colon |
deviceName | Int | To get the latest value, you can use Cmds.getDeviceName().send(..) method |
otaMode | Int | OTA mode |
uuid | String | UUID ios only |
macAddressBt | String | BT macAddress - with colon |
sn | String | Device SN |
btName | String | BtName |
gpsPlatform | Int | GPS chip platform 0: Invalid 1: Sony 2: Airoh 3: icoe |
fwVersion1 | Int | Firmware version version1 |
fwVersion2 | Int | Firmware version version2 |
fwVersion3 | Int | Firmware version version3 |
fwBtFlag | Int | BT version effective flag 0: Invalid 1: Indicates that the firmware has a corresponding BT firmware |
fwBtVersion1 | Int | BT version version1 |
fwBtVersion2 | Int | BT version version2 |
fwBtVersion3 | Int | BT version version3 |
fwBtMatchVersion1 | Int | BT version version1 to match |
fwBtMatchVersion2 | Int | BT version version2 to match |
fwBtMatchVersion3 | Int | BT version version3 to match |