-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Increase SMARTAUDIO_MAX_POWER_COUNT to 8 #10261
Increase SMARTAUDIO_MAX_POWER_COUNT to 8 #10261
Conversation
I wonder if I'm misreading the product page and manual for that VTX. 14dBm (25mW) The manual seems to indicate you can select power levels 2 1/2, 3 1/2 etc via the physical buttons, but not via SmartAudio. Is this mistaken? Have you selected the in-between power levels with this code and seen the LEDs reflect the in-between power levels? (The SmartAudio protocol says if you ask for a power level not supported.by SmartAudio, it uses the next lower supported one.) I don't see an 8-level Betaflight VTX table from TBS, do you? If you've tested it and seen the indicator go through all 8 levels via SmartAudio that would be cool. I just don't see that in the manual or on the product page, so it would be a cool surprise. |
That's there for simplicity's sake, but as SA 2.1 supports setting levels by dbm, there are infinite possible levels really.
Maybe i am being blind, but i don't see that the SA spec indicates any upper limit for the number of power levels returned by the 2.1
Again, with 2.1 the power can be specified via dbm, which is also what iNav uses in that case, where there is really no such thing as a "valid power level" only "too much power".
I don't think we have published a 8-level vtx table, but then that's a bit of different situation, as there the user can easily modify the levels to their liking. Those are more of a "suggestion" than a "exhaustive list". EDIT: 8 is the max number of powerleves betaflight supports for a vtx table. thats how the number was chosen here. |
Thanks for the additional information! I see you referred to TBS as "we" here and I saw your Discord message, so that's also informative. It makes sense you would have more information than I found. :) |
I tested F405TE target (Matek F405 WMN) with TBS UNIFY PRO32 DP. No issues noticed, even PIT mode is selectable (which is a problem on many VTX'es). |
@ABLomas How did you manage to use Pitmode? I thought Pit mode hasn't yet been successfully implemented in INAV. |
Selecting via OSD menu "PIT ON" works. |
@ABLomas Thanks for the information. Apparently it works for Smartaudio then. I have tried two different VTX that use IRC Tramp and Pit mode doesn't work. |
@bkleiner Can you please look at the Configurator side as well? A user on FB just tried it and it works through CLI to have all 8 power levels but in Configurator he only can select 1-5. |
on it. |
Some SA 2.1 devices like TBS UNIFY PRO32 DP support up to 8 powerlevels being reported by GetSettings request.
This PR increases the current limit of 5 to 8.