I'm making automation bash script that will go over range of IP's and try to connect over ADB.
If I try:
adb connect <not android device>
the command will hang for 30 seconds until it say
"failed to connect to '192.168.1.231:5555': Operation timed out".
How I can make ADB connect to try to connect for less time. Something like 3 seconds?