[chirp_devel] [UV-5R] Busy Channel Lockout
Hi all,
I am thinking about adding Busy Channel Lockout settings for the UV-5R. This is a per channel setting. It seems that the right place for this would be in the main channel spreadsheet menu.
Is it possible to add columns to this menu? If yes, does anyone know of any existing drivers that would be an example of how this is done?
If not, would it be possible to set something up on a tab where you could dial up a channel and to set/unset/check status of BCL?
If this works out, I would probably do something similar for PTT-ID and S-CODE.
Any thoughts?
Thanks, Jim
Is it possible to add columns to this menu?
No, but you can add settings to mem.extra which show up in the right click -> Edit dialog. This lets you add arbitrary radio-specific adjustments to memories without having to change the core UI and import logic. Since you've been adding settings like a pro for a while now, this should be no problem, but let me know if you have any issues.
I'll get back to you on your larger patch tomorrow with some comments.
Thanks!
Hey great. I saw an example of that but I couldn't figure out where the setting was. You just gave me a clue. Jim
On Sun, Feb 3, 2013 at 11:20 PM, Dan Smith dsmith@danplanet.com wrote:
Is it possible to add columns to this menu?
No, but you can add settings to mem.extra which show up in the right click -> Edit dialog. This lets you add arbitrary radio-specific adjustments to memories without having to change the core UI and import logic. Since you've been adding settings like a pro for a while now, this should be no problem, but let me know if you have any issues.
I'll get back to you on your larger patch tomorrow with some comments.
Thanks!
-- Dan Smith www.danplanet.com KK7DS
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
Dan,
That was easy.
Question
Why does when using
RadioSetting("setting", "NAME",
with mem.extra does NAME get forced to lower case? It seems to happen on all of the drivers using mem.extra that I have tested.
Jim
On Sun, Feb 3, 2013 at 11:20 PM, Dan Smith dsmith@danplanet.com wrote:
Is it possible to add columns to this menu?
No, but you can add settings to mem.extra which show up in the right click -> Edit dialog. This lets you add arbitrary radio-specific adjustments to memories without having to change the core UI and import logic. Since you've been adding settings like a pro for a while now, this should be no problem, but let me know if you have any issues.
I'll get back to you on your larger patch tomorrow with some comments.
Thanks!
-- Dan Smith www.danplanet.com KK7DS
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
Dan,
Could it be because something is using the wrong value? For example if I reverse the values
RadioSetting("BCL", "bcl",
I get an error (Invalid value for this field 'BCL' -- which I was expecting) but the label in the right-click -> edit dialog is the desired "BCL"
Jim
On Mon, Feb 4, 2013 at 6:08 AM, Jim Unroe rock.unroe@gmail.com wrote:
Dan,
That was easy.
Question
Why does when using
RadioSetting("setting", "NAME",
with mem.extra does NAME get forced to lower case? It seems to happen on all of the drivers using mem.extra that I have tested.
Jim
On Sun, Feb 3, 2013 at 11:20 PM, Dan Smith dsmith@danplanet.com wrote:
Is it possible to add columns to this menu?
No, but you can add settings to mem.extra which show up in the right click -> Edit dialog. This lets you add arbitrary radio-specific adjustments to memories without having to change the core UI and import logic. Since you've been adding settings like a pro for a while now, this should be no problem, but let me know if you have any issues.
I'll get back to you on your larger patch tomorrow with some comments.
Thanks!
-- Dan Smith www.danplanet.com KK7DS
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
Dan, Is there something I need to do? Should I hold off sending my patch implementing BCL? Thanks, Jim
On Mon, Feb 4, 2013 at 9:31 AM, Dan Smith dsmith@danplanet.com wrote:
Could it be because something is using the wrong value? For example if I reverse the values
Yes, I think I did it wrong in the mem.extra case, IIRC. We oughta fix that across the board...
-- Dan Smith www.danplanet.com KK7DS
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
Is there something I need to do? Should I hold off sending my patch implementing BCL?
No, I'd say go ahead and do it the way you know it works and I'll fix it properly when I get a chance.
Of course, if you want to dig into the UI code, it's probably pretty easy and obvious... :)
participants (2)
-
Dan Smith
-
Jim Unroe