Android 4 AP CLEARED in device settings
---------------------------------------
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Save New
Connect Save New 2
Set AP = true : XXXXXXXX
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
Unregistering Receiver
Reset AP = false : TALKTALKCBE7C4
[i.e.worked, but where did the 'Unregistering Receiver' come from? and why does it report Reset AP = false?]
[also some very long delays]
[With Debug]
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Save New
[MLwifi] Connecting to "XXXXXXXX"
Connect Save New 2
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
[MLwifi] Connected to "XXXXXXXX"
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
Set AP = true : XXXXXXXX
NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
[MLwifi] Connecting to "TALKTALKCBE7C4"
[MLwifi] Connecting to "TALKTALKCBE7C4"
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
Unregistering Receiver
Reset AP = false : TALKTALKCBE7C4
Android 4 AP SAVED in device settings
-------------------------------------
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
Set AP = true : XXXXXXXX
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
[about 20 seconds delay at this point]
Unregistering Receiver
Reset AP = false : TALKTALKCBE7C4
[i.e.worked, but where did the 'Unregistering Receiver' come from? and why does it report Reset AP = false?]
[with debug]
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
[MLwifi] Connecting to "XXXXXXXX"
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "XXXXXXXX", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
[MLwifi] Connected to "XXXXXXXX"
Set AP = true : XXXXXXXX
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
[MLwifi] Connecting to "TALKTALKCBE7C4"
[MLwifi] Connecting to "TALKTALKCBE7C4"
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/VERIFYING_POOR_LINK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TALKTALKCBE7C4", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
Unregistering Receiver
Reset AP = false : TALKTALKCBE7C4
Android 9 AP CLEARED in device settings
---------------------------------------
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved [W.isSavedWifiAP(APName) must be reporting true! It definately isn't stored on the 'settings' list before or after running]
java.io.IOException: sendto failed: ENETUNREACH (Network is unreachable)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:576)
at libcore.io.IoBridge.sendto(IoBridge.java:544)
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:125)
at java.net.DatagramSocket.send(DatagramSocket.java:721)
at anywheresoftware.b4a.objects.SocketWrapper$UDPSocket$1.run(SocketWrapper.java:479)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.system.ErrnoException: sendto failed: ENETUNREACH (Network is unreachable)
at libcore.io.Linux.sendtoBytes(Native Method)
at libcore.io.Linux.sendto(Linux.java:227)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:307)
at libcore.io.IoBridge.sendto(IoBridge.java:542)
... 8 more
Set AP = false : TALKTALKCBE7C4
Unregistering Receiver [where does this come from?]
[with Debug]
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
[MLwifi] Connecting to "XXXXXXXX"
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
Set AP = false : TALKTALKCBE7C4
Unregistering Receiver
[Error above not logged but Connect has failed - reconnect tried this time]
Reconnect to old
================
Old SSID: TALKTALKCBE7C4
already Connected
Reset AP = true : TALKTALKCBE7C4 [Correct as Connect failed]
Android 9 AP SAVED in device settings
-------------------------------------
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
Set AP = true : XXXXXXXX [worked OK]
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
Reset AP = false : TALKTALKCBE7C4 [worked OK]
Unregistering Receiver [but where did this come from and waht does it mean?]
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
Set AP = false : TALKTALKCBE7C4 [failed second time]
Reconnect to old
================
Old SSID: TALKTALKCBE7C4
already Connected [to be expected as still connected]
Reset AP = true : TALKTALKCBE7C4
[With Debug]
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Connect Saved
[MLwifi] Connecting to "XXXXXXXX"
[MLwifi] Connecting to "XXXXXXXX"
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[MLwifi] Connected to "XXXXXXXX"
Set AP = true : XXXXXXXX
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
Reconnect to old
================
Old SSID: XXXXXXXX
Connect Saved
[MLwifi] Connecting to "TALKTALKCBE7C4"
[MLwifi] Connecting to "TALKTALKCBE7C4"
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/AUTHENTICATING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
Reset AP = false : TALKTALKCBE7C4
Unregistering Receiver
Android 10 AP CLEARED in device settings
----------------------------------------
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Android 10 + connect
Set AP = true : TALKTALKCBE7C4 [true but W.GetSSID is reporting wrong AP
** Activity (main) Pause event (activity is not paused). **
** Activity (main) Resume **
Reconnect to old
================
Reset AP = true : XXXXXXX [i.e. W.GetSSID is reporting the wrong AP]
[Is actually reset as shown below]
Reconnect to old
================
Reset AP = true : TALKTALKCBE7C4
[XXXXXXX details not stored in 'settings' list, which is correct?]
[with debug]
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Android 10 + connect
SDK: 29
[MLwifi] (Q+) Connecting to XXXXXXXX
Set AP = true : TALKTALKCBE7C4
** Activity (main) Pause event (activity is not paused). **
** Activity (main) Resume **
[MLwifi] Connected to XXXXXXXX
Android 9 AP MANUALLY SAVED in device settings
----------------------------------------------
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Android 10 + connect
Set AP = true : TALKTALKCBE7C4 [reporting true but old AP]
** Activity (main) Pause event (activity is not paused). **
** Activity (main) Resume **
Reconnect to old
================
Reset AP = true : XXXXXXXX [as above wrong AP reported]
Reconnect to old
================
Reset AP = true : TALKTALKCBE7C4 [retry, now correct AP]
[with Debug]
PackageAdded: package:b4a.example
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
permissions OK
Connect to New
==============
OldAP = TALKTALKCBE7C4
Old SSID: TALKTALKCBE7C4
Android 10 + connect
SDK: 29
[MLwifi] (Q+) Connecting to XXXXXXXX
Set AP = true : TALKTALKCBE7C4 [reporting true but old AP - this comes up before the on-screen message is OK'd]
** Activity (main) Pause event (activity is not paused). **
** Activity (main) Resume **
[MLwifi] Connected to XXXXXXXX
Reconnect to old
================
Reset AP = true : XXXXXXXX