When sending the blocking command to the gv50 device, it does not respond to the command and does not block either. The command sent in the form that the protocol is is this.
2025-03-22 20:39:18 INFO: [U61db40e7] id: 865083038139382, command type: engineResume sent
2025-03-22 20:39:18 INFO: [U61db40e7: gl200 > 18.230.179.236] AT+GTOUT=,0,,,0,0,0,0,0,0,0,,,,,,,FFFF$
Where %s exists it is not being mapped with the command prefix (gv50, gv55, ...)
protected Object encodeCommand(Command command) {
initDevicePassword(command, "");
return switch (command.getType()) {
case Command.TYPE_POSITION_SINGLE -> formatCommand(
command, "AT+GTRTO=%s,1,,,,,,FFFF$", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_ENGINE_STOP -> formatCommand(
command, "AT+GTOUT=%s,1,,,0,0,0,0,0,0,0,,,,,,,FFFF$", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_ENGINE_RESUME -> formatCommand(
command, "AT+GTOUT=%s,0,,,0,0,0,0,0,0,0,,,,,,,FFFF$", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_IDENTIFICATION -> formatCommand(
command, "AT+GTRTO=%s,8,,,,,,FFFF$", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_REBOOT_DEVICE -> formatCommand(
command, "AT+GTRTO=%s,3,,,,,,FFFF$", Command.KEY_DEVICE_PASSWORD);
default -> null;
};
}
When we send this command to the gv50, for example, it blocks normally.
"egineStop":"AT+GTOUT=gv50,1,0,0,0,0,0,,,,3,,,,,,,FFFF$",
"egineResume":""AT+GTOUT=gv50,0,0,0,0,0,0,,,,3,,,,,,,FFFF$"}
Thank you all!
When sending the blocking command to the gv50 device, it does not respond to the command and does not block either. The command sent in the form that the protocol is is this.
Where %s exists it is not being mapped with the command prefix (gv50, gv55, ...)
When we send this command to the gv50, for example, it blocks normally.
Thank you all!