BUGFIX: fixed the server do not send a PUBLIC ACK when a PUBLIC on v1/gateway/rpc is received
This commit is contained in:
parent
622300181f
commit
a5fbfcf951
@ -155,6 +155,7 @@ public class GatewaySessionCtx {
|
|||||||
GatewayDeviceSessionCtx deviceSessionCtx = devices.get(deviceName);
|
GatewayDeviceSessionCtx deviceSessionCtx = devices.get(deviceName);
|
||||||
processor.process(new BasicTransportToDeviceSessionActorMsg(deviceSessionCtx.getDevice(),
|
processor.process(new BasicTransportToDeviceSessionActorMsg(deviceSessionCtx.getDevice(),
|
||||||
new BasicAdaptorToSessionActorMsg(deviceSessionCtx, new ToDeviceRpcResponseMsg(requestId, data))));
|
new BasicAdaptorToSessionActorMsg(deviceSessionCtx, new ToDeviceRpcResponseMsg(requestId, data))));
|
||||||
|
ack(mqttMsg);
|
||||||
} else {
|
} else {
|
||||||
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
|
throw new JsonSyntaxException(CAN_T_PARSE_VALUE + json);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user