title: Read Properties of devices on a BACNET IP router
body: <p>I'm having issues reading properties from devices on a BACNET IP router. For this I'm using .net library <a href="https://github.com/ela-compil/BACnet" rel="nofollow noreferrer">https://github.com/ela-compil/BACnet</a></p>
  <p>If I'm interacting with multiple devices, each with its own ip and id (no router configuration), communication works and I'm able to read properties. But once a device in router mode is implemented and all other devices communicate throu this main router, I'm no longer able to read properties.</p>
  <pre><code>Main Bacnet router IP 192.168.2.222
  Device 1, Ip: 192.168.1.1, ID: 10
  Device 2, Ip: 192.168.1.2, ID: 11
  My software is on IP 192.168.2.220
  </code></pre>
  <p>To read properties I'm using:</p>
  <pre><code>var targetObjId = new BacnetObjectId(BacnetObjectTypes.OBJECT_DEVICE, (uint)10);
  var targetBacnetAddress = new BacnetAddress(BacnetAddressTypes.IP, &quot;192.168.1.1&quot;);
  var rez = await Bacnet_client.ReadPropertyAsync(targetBacnetAddress, targetObjId, BacnetPropertyIds.PROP_OBJECT_LIST);
  </code></pre>
  <p>This returns: <em>&quot;Error from device: ERROR_CLASS_SERVICES - ERROR_CODE_SERVICE_REQUEST_DENIED&quot;</em>.
  If no router is used on the network, this code works and produces results. So I must be doing something wrong, while addressing the bacnet device?</p>
  <p>Using Yabe browser all this works. So device configuration is setup corretly. Actualy devices behind router are discovered when I register foregin device throu Functions / IP Services / Foreign Device Registration.</p>