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

Band selection not working for web app. #102

Open
laluha opened this issue Jul 22, 2024 · 0 comments
Open

Band selection not working for web app. #102

laluha opened this issue Jul 22, 2024 · 0 comments

Comments

@laluha
Copy link

laluha commented Jul 22, 2024

  1. The buff argument to set_field in sbitx_gtx.c line 4252 needs to be set:
	sprintf(buff, "%d", new_band*10+stack);
	set_field("#selband", buff);

The value is two digits the first indicates the band and the last the current stack;

  1. Due to the added 60M band the #selband "command" must have it max value increased.
    sbitx_gtx.c line 620 (new max value 83: band select 0-8 stack 0-3)
  { "#selband", NULL, 1000, -1000, 50, 50, "SELBAND", 40, "", FIELD_NUMBER, FONT_FIELD_VALUE,
    "", 0,83,1, 0},
  1. The 60M band needs to be added in index.html line 78
<button class="sbitxv3-btn" id="60M" type="submit">60M<span id="S60" class="selband"></span></button>
  1. I had to add the 60M band to the hw_settings.ini. Something like
[tx_band]
f_start=5250000
f_stop=5450000
scale=0.0156247

After this I was able to make my first ft8 contact on 60M using the web app :-)

Thanks for adding my code.
Lars

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

No branches or pull requests

1 participant