BUGFIX: fixed the server do not send a PUBLIC ACK when a PUBLIC on v1/gateway/rpc is received

This commit is contained in:
Chen Xi 2018-06-04 12:47:40 +08:00
parent 622300181f
commit a5fbfcf951

View File

@ -155,6 +155,7 @@ public class GatewaySessionCtx {
GatewayDeviceSessionCtx deviceSessionCtx = devices.get(deviceName);
processor.process(new BasicTransportToDeviceSessionActorMsg(deviceSessionCtx.getDevice(),
new BasicAdaptorToSessionActorMsg(deviceSessionCtx, new ToDeviceRpcResponseMsg(requestId, data))));
ack(mqttMsg);
} else {
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
}