I think UCI expects isready to block and do all long operations, so for us that should include backend initialization. From the examples I think all setoptions should be done before this so we will know the network the user wants by now.
I made engine::UpdateNetwork public instead of private to do this, let me know if you want to do it differently. I also called EnsureOptionsSent, not sure if we need that or other things.
I think UCI expects isready to block and do all long operations, so for us that should include backend initialization. From the examples I think all setoptions should be done before this so we will know the network the user wants by now.
I made engine::UpdateNetwork public instead of private to do this, let me know if you want to do it differently. I also called EnsureOptionsSent, not sure if we need that or other things.