<p>我试着浏览帖子,看看能不能找到什么,但还没找到。在</p>
<p>我在我的本地主机上运行SCADA BACnet设备模拟器。我假设设备的ip是我的本地主机ip,因为我能找到的唯一ip是在<code>deviceAddressBinding</code>属性中,它显示了<code>192.168.x.xx</code></p>
<p>我正在为<code>SampleApplication</code>运行bacpypes(python library for bacnet)教程,当我第一次尝试运行该教程时,它声明我的<code>.ini file ip is not a valid address in the context</code>。所以我试着输入模拟器的设置来尝试连接到模拟器,现在它给了我一个<code>Only one usage of each socket address (protocol/network address/port) is normally permitted</code>错误。我不太清楚该怎么办,我可能遗漏了什么吗?在</p>
<p>我的.ini文件:</p>
<pre><code>[BACpypes]
objectName: Testing Device
address: 192.168.x.xx #tutorial came with 128.253.109.40/20
objectIdentifier: 123
maxApduLengthAccepted: 1024
segmentationSupported: segmentedBoth
vendorIdentifier: 123
foreignPort: 47808
foreignBBMD: 192.168.1.254
foreignTTL: 30
</code></pre>
<p>我的模拟器属性:
<a href="https://i.stack.imgur.com/i1UwU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i1UwU.png" alt="enter image description here"/></a></p>