Giter VIP home page Giter VIP logo

Comments (5)

gralin avatar gralin commented on September 26, 2024

Hi @LADSoft thank you for sharing. May I ask if you have already implemented this in your own fork? If yes, maybe you would be willing to open a pull request to have it merged here? I sounds like a valid use case. I'm just worried if I will be able to test it correctly and it seems that you already have a setup for this. If you didn't implement this yet or you are using a different library that covers this use case, then would you mind testing the PR before it's merged?

from bacnet.

LADSoft avatar LADSoft commented on September 26, 2024

Thanks, I checked and got the ok from my supervisor to do a PR for this project. We are porting both a client and server from the C language BACnet stack by Karg to C# so I can test the server-side changes against the old version of our client... both had previously been to plugfest a couple of times so we are pretty confident in how they work. Give me a couple of weeks to finish up the testing then I will push something. I may try to add something else we need. if that is ok... response processing for GetEventInformation...

from bacnet.

gralin avatar gralin commented on September 26, 2024

Thank you @LADSoft this sounds great 🙂 This library is far from perfect, but since I managed to extract it from YABE and it allowed me to implement the integration I needed, we decided to host it for others to use too and not have to repeat the unnecessary work we had to do. Since then every now and then someone adds or fixes this and that, so feel free to open PR for anything you find missing or not working.

from bacnet.

LADSoft avatar LADSoft commented on September 26, 2024

thank you @gralin for your effort in this, it does help not to have to host our own version. I noticed you optimized a little too 😄.

I ended up adding everything on our wishlist for the server side now... that includes the change I talked about earlier as well as support for sending confirmed notifications, and server side support for event acknowledge and get event information. oh and I added a simple dispatcher for network messages that we need to support 'WHO_IS_ROUTER_TO_NETWORK/I_AM_ROUTER_TO_NETWORK'... all it does is route network layer messages into C# events the same way the confirmed and unconfirmed messages are done.

I just have to test and make sure nothing is broken. Probably within the next couple of weeks as I have to work on other projects for a while.

I was wondering, I don't think my version of the lib will be binary compatible with the old one... the binary version of the api is likely to be modified by my changes because I did things like add a missing field to a structure, and add defaulted arguments to lots of functions. But I do intend it to be backward compatible at the source code level. Is that ok?

from bacnet.

LADSoft avatar LADSoft commented on September 26, 2024

added to the list: a couple of minor bug fixes probably noone ran into before... also sending of 'abort' and 'reject' error messages is being overhauled to work as per the spec. Meanwhile I really want to change one of the reject reasons from 'RECOGNIZED_SERVICE' to 'UNRECOGNIZED SERVICE' but that would mean source-level incompatibility. Sigh.

from bacnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.