Valley.Net.Protocols.MeterBus icon indicating copy to clipboard operation
Valley.Net.Protocols.MeterBus copied to clipboard

UDP Binding with configurable receive port

Open ebsevon opened this issue 5 years ago • 0 comments

I am using this MBus implementation with the UdpBinding:

            var serializer = new MeterbusFrameSerializer();
            endpoint = new IPEndPoint(IPAddress.Parse(Address), Port); 
            binding = new UdpBinding(endpoint,serializer);
            binding.Error += Binding_Error;
            binding.IoCompleted += Binding_IoCompleted;
            master = new MBusMaster(binding);
            master.Meter += Master_Meter;

I am interacting with a Moxa (TCP to Serial) converter to read one MBUS Device. This device send the data to fix port. So I have to configure the receiving (listening) port additionally to the IPEndpoint.

ebsevon avatar May 27 '20 08:05 ebsevon