-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
[Serial Refactor] 2.7RC1 does not power TX16S AUX uarts for all protocols #1766
Comments
I believe there will be a bluetooth option in the future also (thus basically removing the bluetooth compile option also as it will always be available). For debug I don't think power should be on, as it's intended for comms only, and for CLI I think it should be in the domain of CLI to turn the power on and off as desired (but I suspect that is not an option yet?). |
This has nothing to do with BT in the firmware, it's using an external BT dongle on a AUX port --- transparent serial. |
@stronnag please check here: Lines 192 to 250 in 777b0a4
And pay special attention to these lines: power_required = true; So the short answer is: it is by design, but it's not written in stone ;-) |
OK, so it is a feature that CLI and DEBUG are not available for such devices. |
It's more that that is an unexpected use case. As Raphael said though, this is not set in stone. There is no reason an UI option couldn't be added to allow for the power to be toggled on or off in those modes if there is enough interest for such an addition. |
I can relate to the original post - if the serial port is not OFF, power should IMO be turned on, also for DEBUG or CLI. |
@rotorman feel free to change it ;-) |
On my TX16S
|
Thank you for testing!
Meaning you can enable and disable power OK, as per checkbox?
This is likely unrelated to #1848 |
Yes
No, my BT dongle is locked to 115200. I suspected that would be the problem. Let me try a USB-TTL adapter. |
Took a while to find an USB-TTL dongle that allows non-traditional baud rates (i.e. accepting 400000 rather than deciding that 460800 is close enough). No difference though, still no CLI on AUX; so for a different issue (at least if it's the same on MacOS and Windows). Not withstanding your efforts, perhaps we should just close this again and accept that CLI is not a option for AUX (and the UI should enforce this limitation to avoid user frustration)? |
@stronnag Just tested #1848 with TX16S mkII, AUX1 set to CLI, SparkFun DEV-09717 hooked up to AUX1, hTerm connected with 400.000 baud 8N1. Works beautifully for me.
|
I have the CR+LF. |
Or take the compiler out of the equation - try the github build of the PR? I find going back to / sticking with the GH builds when testing removes environmental variables if there are potential issues. 😀 https://github.com/EdgeTX/edgetx/suites/6172150719/artifacts/216510037 |
Thanks @pfeerick, the first option worked OK (CLI /AUX1 / 400000 baud). Interesting, inav firmware has some serial issues with 11.20 as well. |
and for the record, 10.20 works as well. |
On a TX16S, the AUX UARTS are not powered for all protocols
Most recently tested with 5ffe757 2022-03-30
The AUX UARTS should be powered for all protocols (e.g. to use bluetooth dongle).
The text was updated successfully, but these errors were encountered: