Get Version info

Version info model description

  • IDOGetVersionInfoBluetoothModel
Parameter Description Notes
sdkVersion SDK version the data is x10,11 means version 1.1
hrAlgorithmVersion heart rate algorithm version the data is x10,11 means version 1.1
sleepAlgorithmVersion sleep Algorithm Version the data is x10,11 means version 1.1
stepAlgorithmVersion step Algorithm Version the data is x10,11 means version 1.1
gestureRecognitionVersion gesture Recognition Version the data is x10,11 means version 1.1
pcbVersion PCB Version the data is x10,11 means version 1.1
spo2Version spo2 Version int
stress Algorithm Version stress Algorithm Version int
kcalVersion Kcal Algorithm Version int
disVersion distance Algorithm Version int
axle3SwimVersion axle3Swim Algorithm Version int
axle6SwimVersion axle6Swim Algorithm Version int
actModeTypeVersion sports automatic recognition algorithm version int
allDayHrVersion all day heart rate algorithm version int
gpsVersion gpsalgorithm version int
gpsVersion gpsalgorithm version int
peripheralsVersion Peripheral Version 206 Project Peripheral Version int
firmwareVersion1 firmware version1 int
firmwareVersion2 Firmware version version2 int
firmwareVersion3 Firmware version version3 int
btFlag BT version valid flag 0: Invalid, 1: The firmware has corresponding BT firmware
btVersion1 BT's version version1 int
btVersion2 BT's versionversion2 int
btVersion3 BT's version version3 int
btMatchVersion1 BT Match version1 int
btMatchVersion2 BT Matchversion2 int
btMatchVersion3 BT Match version3 int

Command code

  • Get software/hardware version info

Objc:

[IDOFoundationCommand getVersionInfoCommand:^(int errorCode, IDOGetVersionInfoBluetoothModel * _Nullable data) {
    if (errorCode == 0) {
       //get success
    }else if (errorCode == 6) {
       //device not support
    }else {
       //get failed
    }
}];

Swift:

IDOFoundationCommand.getVersionInfoCommand { (errorCode, model) in
    if errorCode == 0 {
        //get success
    }else if errorCode == 6 {
       //device not supported
    }else {
       //get failed.                                                                                                                                                                                                                                        
    }
};
  • Get firmware 3 level version info

Objc:

[IDOFoundationCommand get3LevelFirmwareVersionCommand:^(int errorCode, IDOGetVersionInfoBluetoothModel * _Nullable data) {
    if (errorCode == 0) {
       //get success
    }else if (errorCode == 6) {
       //device not support
    }else {
       //get failed
    }
}];

Swift:

IDOFoundationCommand.get3LevelFirmwareVersionCommand { (errorCode, model) in
    if errorCode == 0 {
        //get success
    }else if errorCode == 6 {
       //device not supported
    }else {
       //get failed.                                                                                                                                                                                                                                        
    }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-12-18 10:04:13

results matching ""

    No results matching ""