mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
updates for device info
This commit is contained in:
parent
1689b15d95
commit
ed6ad6ae76
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue