i’ve dev code for wifi scanning in python, now i trying to modify my code so it will scan wifi at specific interval, how this can be done
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You generally have two solutions:
schedule to run the python script which refreshes WIFI info at various interval, using crontab or similar external device.
keep the [python] program running and use threading.timer to schedule calls to the WIFI checking routine at desired intervals.