Connection using Multiplex takes a long time on EMS31 | Thales IoT Developer Community
April 20, 2022 - 9:26am, 670 views
Hi, when I using the Multiplex function, it takes a long time to connect by cu.
For example,
cu -l /dev/ttyMux1 -s 460800
When using this command, it takes about 7 seconds for "connected" to be displayed.
The Multiplex function is enabled by the following command.
./linmuxcfg -p=/dev/ttymxc1 -b=460800 -c="AT+CMUX=0" -n=2 -o=0
Do you know what caused it?
Hello,
Seems much but I've never tested this. Did you try any comparison tests with a different OS/HW or module?
BR,
Bartłomiej
Hi,
Sorry, I have never tested different OS/HW or module, only our Linux board.
The multiplex driver initializes itself each time a first virtual port is opened.
Is this the cause?
Yes, there is some initialization when the port is opened. It takes a while. I don't have this particular module to test now. I tried with some other under Windows, it was less than in your case. But I suppose that it may depend on the module and your HW and OS.