• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ChristianTremblay / BAC0 / 237 / 2
40%
master: 47%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 28 Feb 2018 08:37PM UTC
Files 42
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2018 08:35PM UTC coverage: 30.035% (-0.04%) from 30.073%
237.2

push

travis-ci

ChristianTremblay
This commit add Foreign Device Registration feature to BAC0

Now `BAC0.this_application` inherits from BIPForeignApplication.
I've created two functions in my base class (the one I typically call `bacnet`defined using
```
bacnet = BAC0.connect()
```

Functions are
```
bacnet.register_foreign_device(addr='ip of the BBMD', ttl=900) # ttl = whatever you like
bacnet.unregister_foreign_device()
```
Registration is optionnal

In the router, a static route must be created to send traffic for 10.8.0.0/24 to the open VPN sevrer (the raspberry Pi in my case)
For broadcast messages to be received without being butchered by the switch (or the LTE router) I've configured the open VPN device in the DMZ... There is probably a better way to do it but for now it works.
If not, whois requests will only see some responses (mostly unicast ones coming from the BBMD.... but not necessarely from other BACnetIP routers on the network.

Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>

777 of 2587 relevant lines covered (30.03%)

0.3 hits per line

Source Files on job 237.2
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 237.2
  • 0b386748 on github
  • Prev Job for on develop (#235.1)
  • Next Job for on develop (#244.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc