Increase the number of concurrencies of tasmota tcp bridge and compile #20092
Replies: 2 comments
-
What I see in current Tasmota (and also the badly outdated 9.5.0), is instead As the docs page you link explains, |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, I have compiled and tested it and it works fine: Test 2 (the code can be used normally) result |
Beta Was this translation helpful? Give feedback.
-
https://tasmota.github.io/docs/Serial-to-TCP-Bridge/
I am testing the tasmota tcp bridge function. Check the above document. There are only 2 concurrent connections by default. Now I need to add more concurrent connections. Through searching, I found that tasmota 9.5.0 has the following parameters.
TCPBRIDGE_MAX_CLIENTS
This is where the maximum number of connections for the TCP Bridge is specified. Change it to your desired value,
Add the following lines to user_config_override.h and compile, you can have 4 concurrent
#define TCPBRIDGE_MAX_CLIENTS 4
But in the current docs, I can't find how to modify the concurrency parameters. And please tell me the format and tutorial for adding this parameter compilation now!
I need your help, thank you!
Beta Was this translation helpful? Give feedback.
All reactions