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

discovery node improvements - bacnet points, cli, integration test #1029

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

noursaidi
Copy link
Collaborator

No description provided.

@@ -2,11 +2,41 @@

## Notes

`vendor` discovery family is a counter which increments every second
`vendor` discovery family is actually sequential number generator at one second increments.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

number generator for what?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testing. At the moment, I'm forced to have some "vendor" discovery because that's what sequencer uses, and it makes testing a whole lot easier, e.g. run "vendor" discovery for ten seconds, should receive ten events [1,2,3,4,5,6,7,8,9,10], etc.

@grafnu
Copy link
Collaborator

grafnu commented Nov 19, 2024 via email

@noursaidi
Copy link
Collaborator Author

The sequential number goes into the scan_addr field.

So, to pass sequencer tests (which typically have a scan_duration of 10 seconds) I need ten devices in the site model with vendor addrs 1,2,...,11 respectively. It might also be occasionally flakey, but does the job.

Really its a test family I've called vendor for convenience

@grafnu
Copy link
Collaborator

grafnu commented Nov 19, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants