ArduinoESP32 currenty uses hardcoded esptouch V1 protocol for smartconfig, but there is a new improved version V2 of esptouch protocol.
It would be great if we were able to manually set the protocol before using Wifi.beginSmartConfig method.
I think that would solve #5226 as well.