13 lines
225 B
Python
Executable File
13 lines
225 B
Python
Executable File
#!/usr/bin/python2
|
|
|
|
import wireless
|
|
import time
|
|
|
|
wf = wireless.wireless("wlan0")
|
|
|
|
while(True):
|
|
print "level: " + wf.level() + " dBm"
|
|
print "link: " + wf.link() + " dBm"
|
|
print "noise: " + wf.noise() + " dBm"
|
|
time.sleep(1)
|