I've been looking for a version of this command which will remove all connected links excluding permalinks. It doesn't appear there is an easy way to do this in the code, does anyone have any ideas as how to do it? 73's -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
Why not run a shell script to disconnect all nodes then reconnect the nodes that you wish to be connected.. Loren Tedford (KC9ZHV) Email: lorentedford@gmail.com Phone: Fax: http://www.lorentedford.com http://kc9zhv.com Sent from Droid Turbo from Verizon wireless network On Mar 19, 2017 10:36 PM, "Bryan Fields" <Bryan@bryanfields.net> wrote:
I've been looking for a version of this command which will remove all connected links excluding permalinks.
It doesn't appear there is an easy way to do this in the code, does anyone have any ideas as how to do it?
73's -- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/ cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Put this under your [functions] stanza. Make xx whatever you want for the disconnect command. xx=ilink,6 ; disconnect all nodes Here a list of ilink commands from the app_rpt source * ilink cmds: * * 1 - Disconnect specified link * 2 - Connect specified link -- monitor only * 3 - Connect specified link -- tranceive * 4 - Enter command mode on specified link * 5 - System status * 6 - Disconnect all links * 7 - Last Node to Key Up * 8 - Connect specified link -- local monitor only * 9 - Send Text Message (9,<destnodeno or 0 (for all)>,Message Text, etc. * 10 - Disconnect all RANGER links (except permalinks) * 11 - Disconnect a previously permanently connected link * 12 - Permanently connect specified link -- monitor only * 13 - Permanently connect specified link -- tranceive * 15 - Full system status (all nodes) * 16 - Reconnect links disconnected with "disconnect all links" * 17 - MDC test (for diag purposes) * 18 - Permanently Connect specified link -- local monitor only On Sun, Mar 19, 2017 at 8:36 PM, Bryan Fields <Bryan@bryanfields.net> wrote:
I've been looking for a version of this command which will remove all connected links excluding permalinks.
It doesn't appear there is an easy way to do this in the code, does anyone have any ideas as how to do it?
73's -- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/ cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- -- Tim
On 3/20/17 10:37 AM, Tim Sawyer wrote:
Put this under your [functions] stanza. Make xx whatever you want for the disconnect command.
xx=ilink,6 ; disconnect all nodes
I think you misunderstood what I was asking. I'm looking for a command to disconnect all nodes other than permalink nodes. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
Is that not *71 Thanks, Bob k6ecm 73 Sent from iPad
On Mar 20, 2017, at 6:50 PM, Bryan Fields <Bryan@bryanfields.net> wrote:
On 3/20/17 10:37 AM, Tim Sawyer wrote: Put this under your [functions] stanza. Make xx whatever you want for the disconnect command.
xx=ilink,6 ; disconnect all nodes
I think you misunderstood what I was asking.
I'm looking for a command to disconnect all nodes other than permalink nodes.
-- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On 3/21/17 12:32 AM, Bob Pyke wrote:
Is that not *71
No, it's not. ilink,6 disconnects all nodes, I'm looking for a way I can have it disconnect all normal ilink,2/3 linked nodes, but leave the permalinks (ilink,12/13) connected. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
Hi Brian, There is no current way to disconnect all normal connections while leaving permanent connection linked, as far as I know (and I've been through that code a lot). On the node where the permanent connection is initiated, some code could be added to accomplish selective disconnects, theoretically speaking---something like a modified ilink,16 command. The only difference between permanent and normal connection is the setting of the internal "max_retries" variable to a huge value (in app_rpt.c, see the name: MAX_RETRIES_PERM) and the setting of the "perma" variable, which is simply a flag---so, connections are really permanent, but connect retries go on for a very long time! ...In app_rpt.c, see the comment: /* Make a string of disconnected nodes for possible restoration */ In app_rpt, the initiating node is to only place where the"max_retries" and "perma" variables are visible...From the "target" node's perspective (i.e.: the node which was connected TO via a permanent connect command), there is no way to tell any difference, unfortunately, so no way to perform a selective disconnect without changes to telemetry. ...It would be nice if more comprehensive telemetry info got passed between nodes, but, that can't happen without potentially breaking all legacy nodes which haven't upgraded. 73, David KB4FXC On Tue, 21 Mar 2017, Bryan Fields wrote:
On 3/21/17 12:32 AM, Bob Pyke wrote: Is that not *71
No, it's not. ilink,6 disconnects all nodes, I'm looking for a way I can have it disconnect all normal ilink,2/3 linked nodes, but leave the permalinks (ilink,12/13) connected. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Oops, typo, below should read: "so, connections are NOT really permanent," On Tue, 21 Mar 2017, David McGough wrote:
Hi Brian, There is no current way to disconnect all normal connections while leaving permanent connection linked, as far as I know (and I've been through that code a lot). On the node where the permanent connection is initiated, some code could be added to accomplish selective disconnects, theoretically speaking---something like a modified ilink,16 command. The only difference between permanent and normal connection is the setting of the internal "max_retries" variable to a huge value (in app_rpt.c, see the name: MAX_RETRIES_PERM) and the setting of the "perma" variable, which is simply a flag---so, connections NOT are really permanent, but connect retries go on for a very long time! ...In app_rpt.c, see the comment: /* Make a string of disconnected nodes for possible restoration */ In app_rpt, the initiating node is to only place where the"max_retries" and "perma" variables are visible...From the "target" node's perspective (i.e.: the node which was connected TO via a permanent connect command), there is no way to tell any difference, unfortunately, so no way to perform a selective disconnect without changes to telemetry. ...It would be nice if more comprehensive telemetry info got passed between nodes, but, that can't happen without potentially breaking all legacy nodes which haven't upgraded. 73, David KB4FXC On Tue, 21 Mar 2017, Bryan Fields wrote:
On 3/21/17 12:32 AM, Bob Pyke wrote: Is that not *71
No, it's not. ilink,6 disconnects all nodes, I'm looking for a way I can have it disconnect all normal ilink,2/3 linked nodes, but leave the permalinks (ilink,12/13) connected. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
I just do a macro that does ilink 6 and then the perm links again. Lu Vencl
On Mar 21, 2017, at 2:16 AM, David McGough <kb4fxc@inttek.net> wrote:
Hi Brian,
There is no current way to disconnect all normal connections while leaving permanent connection linked, as far as I know (and I've been through that code a lot).
On the node where the permanent connection is initiated, some code could be added to accomplish selective disconnects, theoretically speaking---something like a modified ilink,16 command. The only difference between permanent and normal connection is the setting of the internal "max_retries" variable to a huge value (in app_rpt.c, see the name: MAX_RETRIES_PERM) and the setting of the "perma" variable, which is simply a flag---so, connections are really permanent, but connect retries go on for a very long time! ...In app_rpt.c, see the comment:
/* Make a string of disconnected nodes for possible restoration */
In app_rpt, the initiating node is to only place where the"max_retries" and "perma" variables are visible...From the "target" node's perspective (i.e.: the node which was connected TO via a permanent connect command), there is no way to tell any difference, unfortunately, so no way to perform a selective disconnect without changes to telemetry.
...It would be nice if more comprehensive telemetry info got passed between nodes, but, that can't happen without potentially breaking all legacy nodes which haven't upgraded.
73, David KB4FXC
On Tue, 21 Mar 2017, Bryan Fields wrote:
On 3/21/17 12:32 AM, Bob Pyke wrote: Is that not *71
No, it's not.
ilink,6 disconnects all nodes, I'm looking for a way I can have it disconnect all normal ilink,2/3 linked nodes, but leave the permalinks (ilink,12/13) connected. -- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On 3/21/17 10:52 AM, Lu V wrote:
I just do a macro that does ilink 6 and then the perm links again.
If the permalinks are known, that's good, but unfortunately they can change. Based on David's comments I think the data needed may not be there on all systems to be able to do it properly. -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
If there is a way to find out what the permalink nodes are you could script something. Maybe one of Kiel's scripts will help. http://www.qsl.net/k0kn/scripts.html On Tue, Mar 21, 2017 at 9:14 AM, Bryan Fields <Bryan@bryanfields.net> wrote:
On 3/21/17 10:52 AM, Lu V wrote:
I just do a macro that does ilink 6 and then the perm links again.
If the permalinks are known, that's good, but unfortunately they can change. Based on David's comments I think the data needed may not be there on all systems to be able to do it properly.
-- Bryan Fields
727-409-1194 - Voice http://bryanfields.net _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/ cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- -- Tim
participants (6)
-
Bob Pyke -
Bryan Fields -
David McGough -
Loren Tedford -
Lu V -
Tim Sawyer