-
Notifications
You must be signed in to change notification settings - Fork 43
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 setting local variables through info items #86
Comments
In all my cases the redirection targets have a common prefix (the "device name"). I usually pass only this prefix as the first protocol parameter and have the "remainder" record names hard coded in the protocol. Modularity is maintained and link length stays within reasonable limits. |
As we are on it, how about globals through environment variables? |
Been there, done that. In that case, the user still needs to change the protocol file, changing the variable setting page. |
Great :-P |
That would be very useful, indeed! |
??! (Don't understand your statement about numbers. Info items are strings.) |
Using |
Oh. I see. |
The % redirection parameter often breaks the layering, as record names are required within the protocol file.
Redirection targets can be set through protocol parameters, but - especially for protocols that return a whole bunch of values - this can make database links completely unreadable.
Idea:
Allow setting local StreamDevice variables (scope: protocol) through info items.
A record in the database could do something like
and the protocol could
Advantage: all record names stay in the database; the protocol file can use redirections and still be application agnostic.
I am willing to work on this, if we can agree on the general idea and interface.
The text was updated successfully, but these errors were encountered: