Bridge start time so long


When I use the command bridge.begin(), it takes about 20-30 secs until it is done. What cause that time and it is possible to start the bridge faster?

Thank you !

Most of that time is probably the time it takes the Linux side to boot.There isn't much you can do about that. It takes about a minute on my Yuns.

Once Linux is started, it only takes my sketches a few seconds (less than 5) to start. Again, there's not much you can do there to speed it up. If you look at the source code for the Bridge class, there is a sequence of commands it must send to terminate a potential old copy of the Bridge process, and then launch a new copy. Each step of that process has some delays. You could modify the library to take out some of the steps, but I think that would severely limit the reliability of the process: It might work under some carefully controlled test conditions, but is likely to fail under other conditions.

Ah, it is sad. I think I won't risk to modify the bridge code. Thank you for your answer.