1、连续无固定解改为每秒发一次冷启动,连续发10次
This commit is contained in:
parent
af1517b350
commit
30f8b822e8
@ -210,28 +210,14 @@ public class D3F0SelfCheckMessageExecutor implements Executor<D3F0SelfCheckMessa
|
|||||||
|
|
||||||
void startF9PColdStartTask(Device device){
|
void startF9PColdStartTask(Device device){
|
||||||
Timer timer = new Timer();
|
Timer timer = new Timer();
|
||||||
/*timer.schedule(new TimerTask() {
|
for(int delay=1; delay<=10; delay++) {
|
||||||
@Override
|
timer.schedule(new TimerTask() {
|
||||||
public void run() {
|
@Override
|
||||||
sendGnssCommand(device, F9PColdStartCmd);
|
public void run() {
|
||||||
//改成低功耗模式
|
sendGnssCommand(device, F9PColdStartCmd);
|
||||||
//sendDebugCommand(device, F9PInitCmd);
|
}
|
||||||
}
|
}, delay*1500);
|
||||||
},1000);*/
|
}
|
||||||
timer.schedule(new TimerTask() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
//F9p断电
|
|
||||||
sendDebugCommand(device, F9PPowerOff);
|
|
||||||
}
|
|
||||||
},2000);
|
|
||||||
timer.schedule(new TimerTask() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
//F9p断电
|
|
||||||
sendDebugCommand(device, F9PPowerOn);
|
|
||||||
}
|
|
||||||
},20000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void startBTHotStartTask(Device device){
|
void startBTHotStartTask(Device device){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user