For one of my projects I created a little library to have access to 3 wifi manager functions:
Inquire the state of wifi (switched on or off), switch wifi on or off and start a wifi scan.
Here is a sample how you can use it:
Dim jhw As JhWifi
' Initialize wifi
jhw.Initialize()
' Is wifi enabled, if not enable it
If jhw.Enabled = False Then
jhw.Enabled = True
End If
' Start wifi scan
jhw.startscan()
' Disable wifi
jhw.Enabled = False
Please use it for whatever you need it.
With kindest regards
Joerg
Inquire the state of wifi (switched on or off), switch wifi on or off and start a wifi scan.
Here is a sample how you can use it:
Dim jhw As JhWifi
' Initialize wifi
jhw.Initialize()
' Is wifi enabled, if not enable it
If jhw.Enabled = False Then
jhw.Enabled = True
End If
' Start wifi scan
jhw.startscan()
' Disable wifi
jhw.Enabled = False
Please use it for whatever you need it.
With kindest regards
Joerg
Attachments
Last edited: