BACSharp.BacNetResponse.ReceivedWhoIs C# (CSharp) Method

ReceivedWhoIs() public method

public ReceivedWhoIs ( BacNetRawMessage msg ) : void
msg BACSharp.Types.BacNetRawMessage
return void
        public void ReceivedWhoIs(BacNetRawMessage msg)
        {
            WhoIs apdu = new WhoIs(msg.Apdu);
            uint devId = BacNetDevice.Instance.DeviceId;
            if ((apdu.LowLimit != null && apdu.HighLimit != null && apdu.LowLimit.Value < devId && apdu.HighLimit.Value > devId) || (apdu.LowLimit == null || apdu.HighLimit == null))
                BacNetDevice.Instance.Services.Unconfirmed.IAm();
        }