projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NRF is now default in the 2254.
[goodfet]
/
client
/
GoodFETCCSPI.py
diff --git
a/client/GoodFETCCSPI.py
b/client/GoodFETCCSPI.py
index
4a507d2
..
43001b8
100644
(file)
--- a/
client/GoodFETCCSPI.py
+++ b/
client/GoodFETCCSPI.py
@@
-188,9
+188,10
@@
class GoodFETCCSPI(GoodFET):
#self.strobe(0x09);
return;
#self.strobe(0x09);
return;
- def RF_reflexjam(self):
+ def RF_reflexjam(self
,duration=0
):
"""Place the device into reflexive jamming mode."""
"""Place the device into reflexive jamming mode."""
- data = "";
+ data = [duration&0xff,
+ (duration>>8)&0xff];
self.writecmd(self.CCSPIAPP,0xA0,len(data),data);
return;
self.writecmd(self.CCSPIAPP,0xA0,len(data),data);
return;