<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Steve,<br>
<br>
did you run my latest change there? If so, was that with default
timing or with a changed configuration?<br>
<br>
A full scan now takes ~ 2 seconds with default timing on my modules,
so I guess you still had the old version running.<br>
<br>
Also, the AP isn't taken down, and the WiFi module should of course
send a beacon between the channels, but it's unfortunately closed
source, so we can only guess what it does there from the effects
observed. With scanning for up to the 500 ms per channel, my guess
was that became too long for your tablet.<br>
<br>
We only scan if no client network is connected, so while you're in
your home network, it won't scan.<br>
<br>
Please try again with default scan timing.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 15.02.21 um 16:28 schrieb Steve
Davies:<br>
</div>
<blockquote type="cite"
cite="mid:CABFTEGUnyiY6ApNt0SWrU7N1G5p6oY56c8Zbx5abjvHAj=SUHQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><img
src="https://api2.activeinboxhq.com/1.0/anon/rr/d1de6214af6d460dd68b997345549615"
style="display:none !important" moz-do-not-send="true"
width="1" height="1"><img
src="https://api2.activeinboxhq.com/1.0/anon/rr/d1de6214af6d460dd68b997345549615"
style="display:none !important" moz-do-not-send="true"
width="1" height="1">Hi,
<div><br>
</div>
<div>I went out yesterday and looking now at the esp32wifi log
entries:</div>
<div><br>
</div>
<div>Here's when it doesn't find anything:</div>
<div><br>
</div>
<div><font face="monospace">2021-02-14 15:31:25.113 SAST V
(13273) esp32wifi: StartConnect: scan started<br>
2021-02-14 15:31:28.433 SAST V (16593) esp32wifi:
EventWifiScanDone: no access points found<br>
</font></div>
<div><br>
</div>
<div>Here's where it finds "foreign" ones:</div>
<div><br>
</div>
<div><font face="monospace">2021-02-14 15:45:23.852 SAST V
(33292) esp32wifi: StartConnect: scan started<br>
2021-02-14 15:45:27.482 SAST V (36922) esp32wifi: ScanDone:
#01 ssid='BMWi23024 CarPlay' bssid='b8:9f:09:26:0f:9f'
chan=11 rssi=-49<br>
2021-02-14 15:45:27.482 SAST V (36922) esp32wifi:
EventWifiScanDone: no known SSID found<br>
</font></div>
<div><br>
</div>
<div>and:</div>
<div><br>
</div>
<div><font face="monospace">2021-02-14 15:47:11.947 SAST V
(13287) esp32wifi: StartConnect: scan started<br>
2021-02-14 15:47:16.177 SAST V (17517) esp32wifi: ScanDone:
#01 ssid='BMWi23024 CarPlay' bssid='b8:9f:09:26:0f:9f'
chan=11 rssi=-54<br>
2021-02-14 15:47:16.177 SAST V (17517) esp32wifi: ScanDone:
#02 ssid='Residenz2' bssid='c8:3a:35:50:a2:d0' chan=6
rssi=-91<br>
2021-02-14 15:47:16.177 SAST V (17517) esp32wifi: ScanDone:
#03 ssid='mywifi' bssid='04:95:e6:d1:f2:b0' chan=5 rssi=-93<br>
2021-02-14 15:47:16.177 SAST V (17517) esp32wifi: ScanDone:
#04 ssid='HUAWEI-A5F9' bssid='34:12:f9:fd:a5:f9' chan=11
rssi=-95<br>
2021-02-14 15:47:16.177 SAST V (17517) esp32wifi:
EventWifiScanDone: no known SSID found<br>
</font><br>
</div>
<div>and:</div>
<div><br>
</div>
<div><font face="monospace">2021-02-14 15:47:31.947 SAST V
(33287) esp32wifi: StartConnect: scan started<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#01 ssid='BMWi23024 CarPlay' bssid='b8:9f:09:26:0f:9f'
chan=11 rssi=-50<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#02 ssid='TP-LINK_58FEB6' bssid='c4:e9:84:58:fe:b6' chan=6
rssi=-89<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#03 ssid='TP-Link_F60F' bssid='d8:47:32:04:f6:0f' chan=1
rssi=-92<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#04 ssid='TP-Link_Guest_F60F' bssid='da:47:32:14:f6:0f'
chan=1 rssi=-92<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#05 ssid='' bssid='c4:e9:84:58:f7:8e' chan=6 rssi=-92<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#06 ssid='David's Unifi' bssid='0a:18:d6:a9:f9:a6' chan=1
rssi=-93<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi: ScanDone:
#07 ssid='Shalombosch' bssid='d4:6a:91:70:c9:e4' chan=7
rssi=-93<br>
2021-02-14 15:47:36.477 SAST V (37817) esp32wifi:
EventWifiScanDone: no known SSID found<br>
</font></div>
<div><br>
</div>
<div>So the scan seems to take 4-5 seconds.</div>
<div><br>
</div>
<div>As the car drives along the scan picks up a wide variety of
SSIDs.</div>
<div><br>
</div>
<div>I'm sure that you are right that the SSID disappears for
long enough for the tablet to lose connection. Unfortunately
the tablet then jumps to LTE (so no more connection to
192.168.4 network) and it is quite a while before IT notices
that the SSID is back and reconnects.</div>
<div><br>
</div>
<div>I don't really follow though why the AP is taken down to do
this since when the car is home it is able to connect to my
home Wifi AND operate the AP?</div>
<div><br>
</div>
<div>From the log it appears that sometimes the scan is done
every 10 seconds and sometimes it seems to be every 80 seconds
or so.</div>
<div><br>
</div>
<div>Obviously a scan done every 10 seconds that takes the SSID
down for 4 to 5 seconds isn't going to make the AP near
useless.</div>
<div><br>
</div>
<div>Steve</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 13 Feb 2021 at 20:50,
Michael Balzer <<a href="mailto:dexter@expeedo.de"
moz-do-not-send="true">dexter@expeedo.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> You're right, the same scan timing parameters are
applied in fixed mode after losing the connection.<br>
<br>
So you need to try disabling client mode.<br>
<br>
<br>
<div>Am 13.02.21 um 19:43 schrieb Steve Davies:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Michael,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 13 Feb 2021
at 20:31, Michael Balzer <<a
href="mailto:dexter@expeedo.de" target="_blank"
moz-do-not-send="true">dexter@expeedo.de</a>>
wrote:<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">do you run the
wifi client in scanning mode or with a fixed SSID?<br>
</blockquote>
<div><br>
</div>
<div>Gotta say I don't know.</div>
<div><br>
</div>
<div>I have added the SSID for the house. And only
that one.</div>
<div><br>
</div>
<div>I don't see anything in the settings about
scanning, or on the web interface?</div>
<div><br>
</div>
<div><font face="monospace">OVMS# config list
wifi.ssid<br>
wifi.ssid (protected writeable)<br>
DvDevs<br>
OVMS# config list wifi.ap<br>
wifi.ap (protected writeable)<br>
DvPanda<br>
</font></div>
<div><br>
</div>
<div>But even with just DvDevs defined, surely if
the OVMS is going to reconnect when I get home then
it will have to scan from time to time for
DvDevs otherwise how would it ever know to
reconnect? (Well - one idea is to be able to tell
it to only look if you are in a specific location
("Home").</div>
<div><br>
</div>
<div>I did enable verbose logging for esp32wifi and
I'll see what that tells me.</div>
<div><br>
</div>
<div>Steve </div>
</div>
</div>
<br>
<font face="Arial, Helvetica, sans-serif"><span
style="font-size:13px"><a
href="https://www.telviva.co.za/legal/email-disclaimer"
target="_blank" moz-do-not-send="true">https://www.telviva.co.za/legal/email-disclaimer</a></span></font>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com"
target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
<font face="Arial, Helvetica, sans-serif"><span
style="font-size:13px"><a
href="https://www.telviva.co.za/legal/email-disclaimer"
target="_blank" moz-do-not-send="true">https://www.telviva.co.za/<wbr>legal/email-disclaimer</a></span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>