Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhobox committed Oct 13, 2023
1 parent a51aa2a commit 2f53f0a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 999 deletions.
15 changes: 7 additions & 8 deletions Kaenx.Konnect/Connections/KnxIpRouting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ public class KnxIpRouting : IKnxConnection
public UnicastAddress PhysicalAddress { get; set; }

private ProtocolTypes CurrentType { get; set; } = ProtocolTypes.cEmi;
private byte _communicationChannel;
private bool StopProcessing = false;
private byte _sequenceCounter = 0;

private readonly IPEndPoint _sendEndPoint;
private List<UdpClient> _udpList = new List<UdpClient>();
private readonly BlockingCollection<object> _sendMessages;
private readonly ReceiverParserDispatcher _receiveParserDispatcher;
private bool _flagCRRecieved = false;

/*
public KnxIpRouting(string ip = "224.0.23.12", int port = 3671)
Expand Down Expand Up @@ -128,7 +126,7 @@ private void Init(string ip, int port)
ProcessReceivingMessages(client);

IsConnected = true;

ConnectionChanged?.Invoke(true);
}

public static int GetFreePort()
Expand Down Expand Up @@ -181,20 +179,21 @@ public void Search()
//Send(new MsgSearchReq());
}

public async Task Connect()
public Task Connect()
{
//Nothing to do here

return Task.CompletedTask;
}

public async Task Disconnect()
public Task Disconnect()
{
//Nothing to do here
return Task.CompletedTask;
}

public async Task<bool> SendStatusReq()
public Task<bool> SendStatusReq()
{
return true;
return Task.FromResult<bool>(true);
}


Expand Down
198 changes: 0 additions & 198 deletions Kaenx.Konnect/Connections/KnxRemote.cs

This file was deleted.

Loading

0 comments on commit 2f53f0a

Please sign in to comment.