Comments (4)
Please follow this up with a picture of the Complex-ACK that was returned, like number 457. There may be something more in the BVLL or NPDU layers that is preventing the request and response from lining up. The [1]
being repeated is due to the number of APDU retries and the delay between request attempts is due to the APDU timeout.
from bacpypes.
Yes of course, here it is. Hope it helps.
from bacpypes.
In the bacpypes-pcap project there is a hexdecode.py. Here is the request:
$ python hexdecode.py 00505601b9e20050.5691796008004500.002d64ed00008011.00000a0000210a00.0022bac0bac00019.146d810a00110104.0244010c0c008000.011955
pduSource = <Address 10.0.0.33>
pduDestination = <Address 10.0.0.34>
pduExpectingReply = True
pduNetworkPriority = 0
apduType = 0
apduSeg = False
apduMor = False
apduSA = True
apduMaxSegs = 4
apduMaxResp = 4
apduService = 12
apduInvokeID = 1
objectIdentifier = ('analogValue', 1)
propertyIdentifier = 'presentValue'
pduData = x''
And here is the response:
$ python hexdecode.py 00505691796000505691b9e208004500.003377fc00008011.ae7b010000220a00.0021c9f6bac0001f.cfc4810a00170100.30010c0c00800001.19553e4441a80000.3f
pduSource = <Address 0x01000022c9f6>
pduDestination = <Address 10.0.0.33>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
objectIdentifier = ('analogValue', 1)
propertyIdentifier = 'presentValue'
propertyValue
<bacpypes.primitivedata.Tag(real) instance at 0x7f43a06bd7b0>
tagClass = 0 application
tagNumber = 4 real
tagLVT = 4
tagData = '41.a8.00.00'
pduData = x''
The clue for me that they don't line up is that the ba c0 ba c0
isn't in the UDP header of the response. I think that if you expand the IP and UDP headers you should see they aren't a matched pair.
from bacpypes.
Yeah thats true. Thank you, udp destination was the standard port 47808. But the Server listens on 51702. When i change the Address to 10.0.0.34:51702, it works and i get the value. ;D
from bacpypes.
Related Issues (20)
- Max APDU not segmenting correct HOT 1
- Potential Error in _parse_wp_args HOT 1
- inconsistent COV subscription response: noReponse vs timeout
- [Question] Proper BBMD.py usage HOT 3
- BACnet Services request notification
- asyncore removed from python 3.12 HOT 4
- Issue in dockerising an MSTP application using Misty and BACpypes HOT 1
- Problem with ConfirmedEventNotification in BACpypes Sample HOT 2
- BACnet device is not discoverable in Yabe HOT 4
- MAC Address from I-Am HOT 2
- Do we need to modify our code if we are prefering BACnet port as TCP over UDP? HOT 1
- Clearing / Releasing a priority HOT 2
- Dependency asyncore has been removed in python 3.12. HOT 2
- How do I alter the object properties' values while the simulator is running? HOT 1
- Remote network responds to WhoIsIAm but not ReadProperty HOT 5
- COV - how is Priority handled HOT 1
- COV subscription setting lifetime to 0 causes Error HOT 2
- Erroneous Day-of-week code in packet when building readRange log-buffer request with time-range HOT 6
- Upload GitHub release and PyPI archive HOT 2
- Python 3.12 Unsupported version of Python HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bacpypes.