Ant Switch extension on v1.671 [fixed in v1.672]

edited April 20 in Problems Now Fixed

I have noticed that when the extension is configured to 'Switch to default antenna(s) when no users connected' and 'Deny antenna mixing?' is set to 'Yes', when returning to a vacant radio, both the default antenna and previously selected antenna are selected.

This isn't the behaviour I would expect and it is undesirable.

Comments

  • Hey, thanks for the bug report. I'll make sure that gets fixed. Unfortunately I had to rewrite a lot of the code that depended on the extension framework. And this has led to all sort of problems.

  • Ha,

    I also noticed that problem, this afternoon, when I changed the existing default antenna to another.

    I think this may be the same as the problem I reported, where I had to turn mixing on and back off again to restore normal operation.

    Regards,

    Martin

  • Which antenna switch backend? GPIO?

  • Yes, GPIO

    Regards,

    Martin

  • Okay, fixed. Will be in the next release. Thanks guys.

  • Okay, I can confirm all works perfectly in v1.673.

    Quick question, is it possible to choose a specific antenna in the DX Label?

    I can select the extension, but can I also specify which antenna?

  • I thought it was possible by adding the appropriate command into the extension part of the DX label editor.

    e.g. ant_switch,3

    However, I couldn't get it to work, but I may have got the syntax wrong.

    Regards,

    Martin

  • OK, using ant followed by a comma and then the antenna number does work.

    If you edit the DX label, you may then have to refresh the browser session before the switch command will function.

    Regards,

    Martin

  • Yes, the syntax Martin gives, which is the general way to invoke an extension when a label is clicked, will still work for the antenna switch even though it is no long actually a formal extension.

  • edited April 23

    The syntax works. However; the first time in a browser session it works, but after changing the antenna and then clicking on the DX label it doesn't switch to the appropriate antenna, you have to refresh the browser.

    I may have to video this behaviour to make it clear.

    Should I start a new thread?

  • No, let me try it here and see for myself.

  • I see the same behaviour on my home sdr, 198kHz is tagged to select Ant 2.

    http://g8jnj.zapto.org:8073

    Regards,

    Martin

  • Okay, I see what's wrong. Fixed for the next release..

  • edited April 24

    I woke up this morning and both my Kiwis are on v1.674, but the DX label switching isn't working now.

    Otherwise, the Ant Switch is working.

    EDIT; I have just seen your other post about v1.674 and you have changed the syntax from ant_switch,3 or ant_sw,3, to ant,3. After editing my DX Label to reflect that, it then does in fact work.

    Thanks for the quick resolution of the issue, very much appreciated.

  • I missed that Martin was using ant_switch, the full name of the old extension. The extension name selection code allows for unique prefix matching. That's why specifying just ant alone works. I will make my fix for the DX labels do the same so ant_switch will be accepted as well.

    Also, to be consistent, I should really allow for the other former extensions to be specified in the DX labels as well (noise blanker/filter, waterfall control). Although the use cases for those in that context is much more limited.

  • It all works fine for me now, so I am happy. ant,1 makes total sense.

Sign In or Register to comment.