protected KnxFrame(IKnxConnection knx, ServiceType serviceType) { KnxConnection = knx; CreationDateTime = DateTime.Now; ServiceType = serviceType; IsSecureFrame = false; }
public async Task Init(KnxInterfaceHelper.GetUsbDeviceHandler getDevice) { IKnxInterface inter = _conn.GetInterface(Hash); Debug.WriteLine("Request to Connect to: " + inter.Name); _knxConn = await KnxInterfaceHelper.GetConnection(inter, _conn, getDevice); _knxConn.OnTunnelResponse += OnTunnelActivity; _knxConn.OnTunnelRequest += OnTunnelActivity; }
public BusCommon(IKnxConnection conn) { _conn = conn; _conn.OnTunnelResponse += _conn_OnTunnelResponse; }
private WriteStatusFrame(IKnxConnection knx, string ia, byte[] value) : base(knx, KnxHelper.ServiceType.TunnellingRequest) { _ia = ia; _data = value; }
internal static WriteStatusFrame CreateFrame(IKnxConnection knx, string ia, byte[] value) { return(new WriteStatusFrame(knx, ia, value)); }