Get Flash Bin Version
Function table
__IDO_FUNCTABLE__.funcTable26Model.flashLog
Flash Bin Version model description
- IDOGetFlashBinInfoBluetoothModel
Parameter | Description | Notes |
---|---|---|
status | Status | 0x00 normal, 0x01: invalid font, check error, 0x02: Version mismatch |
flashVersion | font version | int |
matchVersion | Match the version number, the font version number required by the firmware | int |
checkCode | font check code | int |
Command code
Objc:
[IDOFoundationCommand getFlashBinInfoCommand:^(int errorCode, IDOGetFlashBinInfoBluetoothModel * _Nullable data) {
if (errorCode == 0) {
//get success
}else if (errorCode == 6) {
//device not supported
}else {
//get failed
}
}];
Swift:
IDOFoundationCommand.getFlashBinInfoCommand{ (errorCode, model) in
if errorCode == 0 {
//get success
}else if errorCode == 6 {
//device not supported
}else {
//get failed.
}
};