projects
/
wifihood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b15d5
)
Small improvements on dbus testing program
author
javiplx
<javiplx@gmail.com>
Sun, 17 Oct 2010 09:06:09 +0000
(09:06 +0000)
committer
javiplx
<javiplx@gmail.com>
Sun, 17 Oct 2010 09:06:09 +0000
(09:06 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@64
c51dfc6a
-5949-4919-9c8e-
f207a149c383
wifiscand/do_dbus
patch
|
blob
|
history
diff --git
a/wifiscand/do_dbus
b/wifiscand/do_dbus
index
05ba495
..
a05f4c1
100755
(executable)
--- a/
wifiscand/do_dbus
+++ b/
wifiscand/do_dbus
@@
-11,8
+11,8
@@
proxy = bus.get_object( object_name , object_path )
proxy.wakeup()
-fps = {}
if proxy.start() == "Interface initialized" :
+ fps = {}
scan = proxy.scan()
if scan :
@@
-21,7
+21,9
@@
if proxy.start() == "Interface initialized" :
rssi = int( items.pop() )
if rssi != -256 :
fps["".join(items)] = rssi
-print fps
+ print len(fps),fps
+else :
+ print "Interface initialization failed"
proxy.stop()