projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed verbose from bluetooth connections.
[goodfet]
/
client
/
GoodFETNRF.py
diff --git
a/client/GoodFETNRF.py
b/client/GoodFETNRF.py
index
3b3a498
..
093fc4b
100644
(file)
--- a/
client/GoodFETNRF.py
+++ b/
client/GoodFETNRF.py
@@
-5,7
+5,7
@@
#
# This code is being rewritten and refactored. You've been warned!
#
# This code is being rewritten and refactored. You've been warned!
-import sys, time, string, cStringIO, struct, glob,
serial,
os;
+import sys, time, string, cStringIO, struct, glob, os;
from GoodFET import GoodFET;
from GoodFET import GoodFET;
@@
-86,7
+86,7
@@
class GoodFETNRF(GoodFET):
return "GFSK";
def RF_getrate(self):
rate=self.peek(0x06)&0x28;
return "GFSK";
def RF_getrate(self):
rate=self.peek(0x06)&0x28;
- if rate==0x2
8
:
+ if rate==0x2
0
:
rate=250*10**3; #256kbps
elif rate==0x08:
rate=2*10**6; #2Mbps
rate=250*10**3; #256kbps
elif rate==0x08:
rate=2*10**6; #2Mbps