|
|
|
@ -128,7 +128,7 @@ public class GatewaySessionCtx { |
|
|
|
if (json.isJsonObject()) { |
|
|
|
JsonObject jsonObj = json.getAsJsonObject(); |
|
|
|
String deviceName = checkDeviceConnected(jsonObj.get("device").getAsString()); |
|
|
|
Integer requestId = jsonObj.get("requestId").getAsInt(); |
|
|
|
Integer requestId = jsonObj.get("id").getAsInt(); |
|
|
|
String data = jsonObj.get("data").getAsString(); |
|
|
|
GatewayDeviceSessionCtx deviceSessionCtx = devices.get(deviceName); |
|
|
|
processor.process(new BasicToDeviceActorSessionMsg(deviceSessionCtx.getDevice(), |
|
|
|
|