At the moment I'm writing a part of code which should connect android device with hidden network (disconnect existing connection and connect to that hidden one) but it doesn't do that and I don't know why.
B4X:
Dim wifi1 As MLwifi
wifi1.saveWifiAP("MyHiddenWiFi",0,"",True)
So this command should add network to list (and it does) but for some reason doesn't want to connect to it.
Android may not want to connect to a network that does not have internet access. I do not know if you can somehow force him to connect to such a network.
Wait for the opinion of other forum members.
No it doesn't want connect anyway, I tried hidden - open, hidden - secured, not hidden - open, not hidden - secured and no luck. In saved network list it is mentioned that this network is saved by my application but that shouldn't effect to this issue, should it? Just to remind, this network hasn't got internet access.
I don't think that it matters that there is no internet connection. You can turn on airplane mode and turn on wireless to see whether it makes any difference.
I'm using arduino IDE to programming ESP chip so this is ok. How to detect if android device is connected to proper/demand ssid network and wait until that connection is established (eg. few tries to connect, if no success then give up)?