mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
updates for device info
This commit is contained in:
@@ -115,7 +115,10 @@ namespace PepperDash.Essentials.DM
|
|||||||
|
|
||||||
private void GetFirmwareAndSerialInfo()
|
private void GetFirmwareAndSerialInfo()
|
||||||
{
|
{
|
||||||
var tcpClient = new GenericTcpIpClient("", _rmc.ConnectedIpList[0].DeviceIpAddress, CtpPort, 1024);
|
var tcpClient = new GenericTcpIpClient(String.Format("{0}-devInfoSocket", Key), _rmc.ConnectedIpList[0].DeviceIpAddress, CtpPort, 1024)
|
||||||
|
{
|
||||||
|
AutoReconnect = false,
|
||||||
|
};
|
||||||
|
|
||||||
var gather = new CommunicationGather(tcpClient, "\r\n\r\n");
|
var gather = new CommunicationGather(tcpClient, "\r\n\r\n");
|
||||||
|
|
||||||
@@ -123,6 +126,7 @@ namespace PepperDash.Essentials.DM
|
|||||||
{
|
{
|
||||||
if (!args.Client.IsConnected)
|
if (!args.Client.IsConnected)
|
||||||
{
|
{
|
||||||
|
OnDeviceInfoChange();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user