Comments (2)
Thank you for your interest in BACpypes, and thank you for the patches.
We would like to claim protocol revision 22. Do you have any restriction in mind about this, regarding the state of the library?
Apart from encoding and decoding PDUs, I have not run a particular client or server application against any BIBBs to confirm that all of the pieces are implemented correctly. The easy ones (like the old Conformance Classes) have been used by lots of people, but I have reservations about the more advanced requirements. Client applications (A-side) are much easier to build and test than servers (B-side) which usually have lots of additional code for the real-world application.
As you probably know, the Network Port object is mandatory for any device using BACnet/IP and claiming a protocol revision superior to 19.
When the async/await features came to Python I started a re-write of the library BACpypes3 and that has an IPv4 implementation of a BACnet Application NPO. The client API is much easier to use, like await app.read_property(...)
, and entire chunks of code like the task manager and IO control blocks are gone. The IPv4 stack layer is stable, the IPv6 stack pieces should also be stable (slightly less confident), and the beginnings of SC (encoder/decoder layered on websockets, but not the SC-hub or SC-switch).
So I appreciate the patches and I will apply them, but the vast majority of the development will be on BACpypes3. If we can get it up-to-date with the 2020 publication that would be a great victory!
We have discovered that some of its property types are not encoded as described in the standard, because Wireshark was unable to decode them.
I consider that a pretty bad problem, thank you for the patch, and I'll port the fix into BACpypes3 if its needed.
First, do you still maintain the implementation in py25 directory.
No, I stopped updating it when it was no longer easily available. With the docker world, maybe images like the ones here can be used and could come back to life...interesting thought.
I have found discrepancies between enumerations and other type declarations in this directory and in the other ones.
Yep, I'm not surprised, and there might be substantial differences in the supported services as well.
I have created the following patches for all three implementations.
Thank you!
from bacpypes.
These patches have been applied and are released in 0.18.7
and in BACpypes3 0.0.73
. Thank you again!
from bacpypes.
Related Issues (20)
- AnalogOutput returns unrecognized-service when calling writeMultiple HOT 1
- [Question] Best practice to read/write points of multiple devices at the same IP address HOT 1
- 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
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.