Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support BACnet devices on nonstandard ports #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adam-nielsen
Copy link

When communicating with other BACnet devices on the same machine, different ports must be used to ensure communications go to the right instance.

The outgoing messages were being sent on the standard BACnet UDP port, instead of going out to the same port they arrived from, making communications with nonstandard devices impossible.

This small patch includes the port number in the address field if it is nonstandard, fixing the issue.

I have tested this both with listening on port 47809 and talking to a device on port 47809, rather than the usual port 47808.

@fh1ch fh1ch self-assigned this Feb 10, 2019
@fh1ch fh1ch added this to the 0.0.1-beta.14 milestone Feb 10, 2019
@adam-nielsen
Copy link
Author

Updated branch to sync with latest master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants