As was reported in this thread, the MLWifi library does not work correctly in apps running on Android 9 devices. I have tested with a small B4A app connecting to a small B4R app running on a Wemos D1R2 board (both projects attached) & found that even when the B4A app is connected to the B4R access point, MLWifi reports isWifiConnected as False. This happens regardless of whether the Android device is already connected to the AP before the app runs, or whether the app makes the connection. The issue is not that the app can't connect to the AP - the issue is that MLWifi incorrectly reports as not being connected.
On a pre-Android 9 device it works fine (as I have proven with multiple B4R/B4A projects I have written).
The 2 projects are attached for your testing pleasure...
On a pre-Android 9 device it works fine (as I have proven with multiple B4R/B4A projects I have written).
The 2 projects are attached for your testing pleasure...
Attachments
Last edited: