sirjo66 Well-Known Member Licensed User Longtime User Jan 1, 2018 #1 Hello, I am a little problem with MLwifi library https://www.b4x.com/android/forum/threads/simple-wifi-library.38601/ Into a service module I need to test if the device is connect to a wifi and also get wifi name, but (some time) this code B4X: Dim ml As MLwifi Log("SSID = " & ml.SSID) Log("isWifiConnected = " & ml.isWifiConnected) tell me that: SSID = MyNetworkName isWifiConnected = False ..... why ??? if it tell me that the device is not connect to a wifi, how can it tell me the wifi name ?? is there a bug in the library ?? Sergio
Hello, I am a little problem with MLwifi library https://www.b4x.com/android/forum/threads/simple-wifi-library.38601/ Into a service module I need to test if the device is connect to a wifi and also get wifi name, but (some time) this code B4X: Dim ml As MLwifi Log("SSID = " & ml.SSID) Log("isWifiConnected = " & ml.isWifiConnected) tell me that: SSID = MyNetworkName isWifiConnected = False ..... why ??? if it tell me that the device is not connect to a wifi, how can it tell me the wifi name ?? is there a bug in the library ?? Sergio
NJDude Expert Licensed User Longtime User Jan 1, 2018 #2 sirjo66 said: if it tell me that the device is not connect to a wifi, how can it tell me the wifi name ?? Click to expand... That's the broadcasting names you are getting, it's just like when on your device you open "available wireless connections" and see a whole bunch of networks around you, are you connected to all of them?, no, you are just getting their names. Upvote 0
sirjo66 said: if it tell me that the device is not connect to a wifi, how can it tell me the wifi name ?? Click to expand... That's the broadcasting names you are getting, it's just like when on your device you open "available wireless connections" and see a whole bunch of networks around you, are you connected to all of them?, no, you are just getting their names.
sirjo66 Well-Known Member Licensed User Longtime User Jan 1, 2018 #3 great !!! many thanks for the answer Upvote 0