1、修改检查工作周期应答的bug
This commit is contained in:
parent
dd9c0bb8c6
commit
5bfc0f0ffc
@ -83,7 +83,7 @@ public class APIController extends BasicController{
|
|||||||
|
|
||||||
void checkWorkCycle(GnssDevice device, String cfgData){
|
void checkWorkCycle(GnssDevice device, String cfgData){
|
||||||
// d3 12 00 12 00 81 e7 6f 01 0a09000001c2dd7ae1419ee148
|
// d3 12 00 12 00 81 e7 6f 01 0a09000001c2dd7ae1419ee148
|
||||||
int pos = 10;
|
int pos = 9;
|
||||||
byte[] hexValues = ByteUtil.hexStringTobyte(cfgData);
|
byte[] hexValues = ByteUtil.hexStringTobyte(cfgData);
|
||||||
byte workCycle = hexValues[pos++];
|
byte workCycle = hexValues[pos++];
|
||||||
byte workDur = hexValues[pos++];
|
byte workDur = hexValues[pos++];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user