获取字库版本
功能表
__IDO_FUNCTABLE__.funcTable26Model.flashLog
字库版本模型说明
- IDOGetFlashBinInfoBluetoothModel
参数 | 说明 | 备注 |
---|---|---|
status | 状态 | 0x00正常,0x01:字库无效,校验错误, 0x02:版本不匹配 |
flashVersion | 字库版本 | int |
matchVersion | 匹配版本号,固件需要的字库版本号 | int |
checkCode | 字库校验码 | int |
命令代码
Objc:
[IDOFoundationCommand getFlashBinInfoCommand:^(int errorCode, IDOGetFlashBinInfoBluetoothModel * _Nullable data) {
if (errorCode == 0) {
//获取成功
}else if (errorCode == 6) {
//设备不支持
}else {
//获取失败
}
}];
Swift:
IDOFoundationCommand.getFlashBinInfoCommand{ (errorCode, model) in
if errorCode == 0 {
//获取成功
}else if errorCode == 6 {
//设备不支持
}else {
//获取失败.
}
};