Beispiel #1
0
 public SearchResponse(EndPoint control,
                       PhysicalAddress addr)
     : base(EIBMessages.EIB_MC_SEARCH_RESPONSE)
 {
     _control_endpoint = new HPAI(control);
     _desc             = new DescriptionResponse(true,
                                                 new EIBAddress("0/0/0"),
                                                 "123456",
                                                 IPAddress.Parse("224.0.23.12"),
                                                 addr,
                                                 "EIB Emulator v0.1");
     total_length += HPAI.length;
     total_length += DescriptionResponse.dev_dib_structlength;
     total_length += _desc.supp_dib_structlength;
 }
Beispiel #2
0
 public SearchResponse(EndPoint control,
     PhysicalAddress addr)
     : base(EIBMessages.EIB_MC_SEARCH_RESPONSE)
 {
     _control_endpoint = new HPAI(control);
     _desc = new DescriptionResponse(true,
                                     new EIBAddress("0/0/0"),
                                     "123456",
                                     IPAddress.Parse("224.0.23.12"),
                                     addr,
                                     "EIB Emulator v0.1");
     total_length += HPAI.length;
     total_length += DescriptionResponse.dev_dib_structlength;
     total_length += _desc.supp_dib_structlength;
 }