1、修改检查工作周期应答的bug

This commit is contained in:
weidong 2025-03-31 15:13:15 +08:00
parent dd9c0bb8c6
commit 5bfc0f0ffc

View File

@ -82,8 +82,8 @@ public class APIController extends BasicController{
}
void checkWorkCycle(GnssDevice device, String cfgData){
// d31200120081e76f010a09000001c2dd7ae1419ee148
int pos = 10;
// d3 12 00 12 00 81 e7 6f 01 0a09000001c2dd7ae1419ee148
int pos = 9;
byte[] hexValues = ByteUtil.hexStringTobyte(cfgData);
byte workCycle = hexValues[pos++];
byte workDur = hexValues[pos++];