changed 9F41 len 03 to 04

This commit is contained in:
kizzy 2026-01-10 13:05:53 +07:00
parent 280d8f154d
commit 25ba7022da

View File

@ -571,14 +571,16 @@ public class KernelDataProcessUtil {
// need to keeps or not?
if (tlvMap.get("9F41") != null) {
int length = tlvMap.get("9F41").getLength();
LogUtil.d(TAG,"9F41 len:"+length);
LogUtil.d(TAG,"9F41 value:"+tlvMap.get("9F41").getValue());
f55DataStr += "9F41" + String.format("%02d", length - 1) + tlvMap.get("9F41").getValue().substring(2, 8);
f55WaveDataStr += "9F41" + String.format("%02d", length - 1) + tlvMap.get("9F41").getValue().substring(2, 8);
} else {
String batchNumStart = SystemParamsOperation.getInstance().getSystemParamsSettings().getBatchNumStart();
try {
int parseInt = Integer.parseInt(batchNumStart);
String value = String.format("%06d", parseInt);
f55DataStr += "9F4103" + value;
String value = String.format("%08d", parseInt);
f55DataStr += "9F4104" + value; // changed 03 to 04 Jan10,2026
} catch (Exception e) {
e.printStackTrace();
}