AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
4 stars 2 forks source link

ASL3 USB Configs #282

Closed tsawyer closed 4 months ago

tsawyer commented 5 months ago

Update USB configs for moved tune settings. Add comments.

Allan-N commented 5 months ago

I would like to suggest a few changes to the .conf files.

  1. The "[1999]" on line 19 be changed to [device-main](!)
  2. Above the ";;;;; ASL3 Tune settings..." on line 80 we add [1999](device-main)

This makes it simple to add a new node to the config as all we need is to add [node#](device-main) to the end of the file (vs. having to replicate all of the settings above).

InterLinked1 commented 5 months ago

I would like to suggest a few changes to the .conf files.

  1. The "[1999]" on line 19 be changed to [device-main](!)
  2. Above the ";;;;; ASL3 Tune settings..." on line 80 we add [1999](device-main)

This makes it simple to add a new node to the config as all we need is to add [node#](device-main) to the end of the file (vs. having to replicate all of the settings above).

Thanks for the feedback @Allan-N - in the future, it's often useful to provide feedback using the "review" functionality since you can make those comments inline, and the PR will then show what changes need to be addressed for merging with some basic resolution tracking built in.

It's not very obvious - I'm only familiar with this now that the Asterisk project has moved to GitHub and makes us do it that way.

Allan-N commented 5 months ago

Yes, learning how to do things the GitHub way. I'll add review comments when I am back home ... if changes have not yet been made.

tsawyer commented 5 months ago

I don't see an advantage to using a template for USB configurations.

  1. There are many manufactures and many different radios making for no template that would satisfy more than a small minority of configurations.
  2. There are a dozen or so settings of which better than half are likely to change for any given node.
  3. The existing simple-tune-menu and radio-tune-menu currently read and write both the old and the new configs. ASL3-menu won't change any settings other than the node number and the device string.

Btw, line 80 would not be the right place for [node#](device-main). Just above #tryinclude custom/simpleusb.conf would be where it goes.

Allan-N commented 5 months ago

@tsawyer

Advantages :

Disadvantages :

Re: simple-tune-menu

Re: line #'s

tsawyer commented 5 months ago

@Allan-N presented advantages are counter to the points @tsawyer made above. Tempelate proposal not accepted.

tsawyer commented 5 months ago

@InterLinked1 How do I nix Allan's suggestions?

tsawyer commented 5 months ago

Do configs/samples/simpleusb.conf.sample and usbradio.conf.sample also need to be updated? The overall format looks somewhat different to me, but maybe somebody that understands the config can answer.

I'll have a look. [edit] I've never looked at those before. @KB4MDD do these make any sense to you?

tsawyer commented 4 months ago

I'm still curious about if the sample files need any updates or not.

They do, but can we make that a separate issue? We need to move ahead on the asl3-menu and other testing.

InterLinked1 commented 4 months ago

I'm still curious about if the sample files need any updates or not.

They do, but can we make that a separate issue? We need to move ahead on the asl3-menu and other testing.

I'm kind of skeptical it will get done, then. Maybe @KB4MDD knows?

KB4MDD commented 4 months ago

The samples and rpt directory file changes need to push with this update.

This update is going to break everyone that is testing. This is simply unavoidable. The example files need to go out with this change.

I have already updated my simpleusb.conf and usbradio.conf in anticipation of this change.

If I need to update the samples, I will do that so that all of this can merge at the same time.