X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETCC.py;h=abbe115ee1e0b8f758f2db81541081cc67695f80;hp=a3f1020b3afe24652888449f967a3000b564791e;hb=44e1187885bbf7caa7cafccf7cc41d0ec3963721;hpb=91087efc8ddcfb800da5c0bc87d2840897e829c7 diff --git a/client/GoodFETCC.py b/client/GoodFETCC.py index a3f1020..abbe115 100644 --- a/client/GoodFETCC.py +++ b/client/GoodFETCC.py @@ -125,7 +125,7 @@ class GoodFETCC(GoodFET): return hz; def RF_getchannel(self): - """Get the frequency in Hz.""" + """Get the hex channel.""" #FIXME CC1110 specific freq=0; try: @@ -148,6 +148,7 @@ class GoodFETCC(GoodFET): self.lastshellcode=filename; file=__file__; file=file.replace("GoodFETCC.pyc","GoodFETCC.py"); + #TODO make this generic path=file.replace("GoodFETCC.py","shellcode/chipcon/cc1110/"); filename=path+filename; @@ -592,7 +593,7 @@ class GoodFETCC(GoodFET): except: if self.verbose>0: print "RSSI reg doesn't exist."; try: - #RSSI doesn't exist on 2.4GHz devices. Maybe RSSIL and RSSIH? + #RSSI doesn't exist on some 2.4GHz devices. Maybe RSSIL and RSSIH? rssilreg=self.symbols.get("RSSIL"); rssil=self.CCpeekdatabyte(rssilreg); rssihreg=self.symbols.get("RSSIL");