Get Over-Heat Log

Function table

__IDO_FUNCTABLE__.funcTable29Model.getHeatLog

Over-Heat Log model Description

  • IDOGetOverHeatLogModel
Parameter Description Notes
verionNum The version number of the message int
devRunTime total device running time Unit: second
ppgRunTime ppg sensor working time Unit: second
chargingTimes Charge times Unit: times
errFlag The set of reasons for the exception 0: Voltage drop too fast,
1: ppg sensor communication failed,
2: ppg sensor returns abnormal data
year int
month Month int
day Day int
hour Hour int
minute int
second Second int

Command code

Objc:

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

Swift:

IDOFoundationCommand.getOverHeatLogInfoCommand{ (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 ""