Giter Club home page Giter Club logo

Comments (5)

JoelBender avatar JoelBender commented on September 25, 2024

This is actually issue #9, so I updated the title.

from bacpypes.

JoelBender avatar JoelBender commented on September 25, 2024

Check out the issue-9 branch. This is only a problem with py34, but was also a problem with LocalStation addresses. If you can confirm it's fixed, I'll merge this with the master branch. This is exactly the kind of problem that good unit tests would fix!

from bacpypes.

ChristianTremblay avatar ChristianTremblay commented on September 25, 2024

I think it's ok

> whois
> pduSource = <Address 192.168.210.253>
iAmDeviceIdentifier = ('device', 210253)
maxAPDULengthAccepted = 1476
segmentationSupported = noSegmentation
vendorID = 245
pduSource = <RemoteStation 2:5>
iAmDeviceIdentifier = ('device', 5)
maxAPDULengthAccepted = 480
segmentationSupported = segmentedTransmit
> exit
Exiting...

from bacpypes.

ChristianTremblay avatar ChristianTremblay commented on September 25, 2024

Regarding unit test, we could think about reference PDUs that we would always create in our unittest... and make all the tests based on that "fake" PDUs

I'm thinking of complete ones similar to what we could receive from the network.

One MSTP, one IP... for example

from bacpypes.

JoelBender avatar JoelBender commented on September 25, 2024

Setting up a testing framework is going to be a challenge. I was expecting that the virtual network implementation in the vlan.py was going to be sufficient for the stack, and probably will be where the client and server are in the same application. The ultimate goal is for testing to match the ASHRAE Standard 135.1 Method of Test for Conformance to BACnet standard and could be applied to real devices. It seems like the client and server tests would be identical, they're all just sequences of PDU's.

:-)

I'm closing this issue before the thread gets too off-track.

from bacpypes.

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.