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

idea: multiple call signs #290

Open
DC7IA opened this issue Oct 21, 2021 · 12 comments
Open

idea: multiple call signs #290

DC7IA opened this issue Oct 21, 2021 · 12 comments

Comments

@DC7IA
Copy link

DC7IA commented Oct 21, 2021

Everytime I'm in another country I had to change my pat config.

So an idea would be to allow setting multiple call signs or maybe even allowing to set it using the web interface.

Something like that. Just easier than editing the config. :D

What do you think? 🤔

@xylo04
Copy link
Contributor

xylo04 commented Oct 21, 2021

There's already an option for auxiliary/tactical callsigns in the config file, but I honestly haven't used it and don't know if it would fit your use case.

@DC7IA
Copy link
Author

DC7IA commented Oct 22, 2021

What are tactical call signs?

@xylo04
Copy link
Contributor

xylo04 commented Oct 22, 2021

There's an article on the Winlink website. I've mainly heard of them used in emergency communications; for example, there may be many operators working at an emergency operations center (EOC), and rather than trying to address one of them by callsign (trying to guess shift schedules), someone in the field may just address the EOC tactical call sign.

However, looking at the article, it looks like tactical callsigns are treated differently (no passwords for one thing) so it may not be appropriate for switching between multiple callsigns for different countries.

@martinhpedersen
Copy link
Member

The auxiliary callsigns feature will allow you to fetch emails for multiple addresses (callsigns) at the same time. Please refer to the config docs for details on how to set this up.

You could also change the callsign temporarily with the --mycall command line option, or by having multiple config files and use soft links to switch between them (for more complex setups). Pair that with a bash script, and I think you should be covered.

But the real solution IMO would be to implement a config editor for the web gui. In fact, it's been on my wishlist for some time. Ref issue #5.

@DC7IA
Copy link
Author

DC7IA commented Nov 14, 2021

But the real solution IMO would be to implement a config editor for the web gui.

Yeah, that'd be great.

However, my idea is to be able to set multiple callsigns and choose between them when connecting.

That way I can save, for example, DC7IA, 5Q7IA and PA/DC7IA and choose between these three callsigns. :D

@martinhpedersen
Copy link
Member

Yes, maybe we should consider adding a way to switch between multiple saved config files in the config editor (editor/selector). That could be very useful 👍

@DC7IA
Copy link
Author

DC7IA commented Dec 15, 2021

multiple saved config files

But please seperately for call signs and radios.

I use 5 call signs and 2 radios, so I need to do a lot of editing. 😅

@JoshuaCarroll
Copy link

There's already an option for auxiliary/tactical callsigns in the config file, but I honestly haven't used it and don't know if it would fit your use case.

I can't find any documentation on this. Can you please direct me to where I'd find how to configure tactical call signs?

@DC7IA
Copy link
Author

DC7IA commented Aug 19, 2022

@xylo04 Did you see @JoshuaCarroll 's question? I'd be interested in the answer as well.

@Mihara
Copy link

Mihara commented Jun 14, 2023

But please seperately for call signs and radios.

...Actually, since the config is json anyway, wouldn't it be easier to offer an option to supply multiple config files on the command line, where subsequent ones override the first one by merging the json object structure? So you'd have

{
 "mycall": "foo",
 ...
 "ardop": { "rig": "bar", .... },
 ...
}

and

{
 "ardop": { "rig": "baz" }
}

and

{
 "mycall": "quux"
}

and then list them in order of which bits you need.

@DC7IA
Copy link
Author

DC7IA commented Jun 14, 2023

and then list them in order of which bits you need

You mean I could select from a list of radios and call signs?

@Mihara
Copy link

Mihara commented Jun 14, 2023

You mean I could select from a list of radios and call signs?

With extra command line switches, yes.

You'd have one master config file, (~/.config/pat/config.json) which describes the default state. You'd have extra config files (~/.config/pat/radio2.json and (~/.config/pat/call2.json, etc) each of which only contains parts of the whole json configuration structure that are meant to be different.

Then you'd call pat with pat --config=~/.config/pat/config.json --config=~/.config/pat/radio2.json --config=~/.config/pat/call2.json to overlay them to get the combination you need.

There's even a ready-made library that does this: https://golangexample.com/a-universal-json-merge-library-for-go/

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

No branches or pull requests

5 participants