-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
zigbee always uses software serial #7071
Comments
Good catch. Are you using GPIO 1/3 or 13/15? |
GPIO 13/15 in this case
Thx
|
I want to find a way to have either hardware or software serial for 13/15. Automatically switching to hardware serial would preempt the serial console which is useful when debugging. |
Mmm, what about being managed by the value of seriallog? If seriallog is 0 (no required info in the serial port) you can use 13/15 by hardware serial. If seriallog is >0 you have to use software serial for 13/15. |
Agreed. This is the best option. |
PROBLEM DESCRIPTION
xdrv_23_zigbee_9_impl.ino calls
TasmotaSerial(pin[GPIO_ZIGBEE_RX], pin[GPIO_ZIGBEE_TX], 0, 0, 256); // set a receive buffer of 256 bytes
in line 233:
ZigbeeSerial = new TasmotaSerial(pin[GPIO_ZIGBEE_RX], pin[GPIO_ZIGBEE_TX], 0, 0, 256); // set a receive buffer of 256 bytes
This is not enabling any hardware serial lines, please see TasmotaSerial.cpp lines 82+
A clear and concise description of what the problem is.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: