|
|
|
|
|
|
|
|
|
|
|
trans8(self,
byte)
Read and write 8 bits by CCSPI. |
source code
|
|
|
|
|
|
|
strobe(self,
reg=0)
Strobes a strobe register, returning the status. |
source code
|
|
|
|
CC_RFST_IDLE(self)
Switch the radio to idle mode, clearing overflows and errors. |
source code
|
|
|
|
CC_RFST_TX(self)
Switch the radio to TX mode. |
source code
|
|
|
|
CC_RFST_RX(self)
Switch the radio to RX mode. |
source code
|
|
|
|
CC_RFST_CAL(self)
Calibrate strobe the radio. |
source code
|
|
|
|
|
|
|
|
|
|
poke(self,
reg,
val,
bytes=2)
Write a CCSPI Register. |
source code
|
|
|
|
|
|
|
RF_setenc(self,
code='802.15.4')
Set the encoding type. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RF_setkey(self,
key)
Sets the first key for encryption to the given argument. |
source code
|
|
|
|
RF_setnonce(self,
key)
Sets the first key for encryption to the given argument. |
source code
|
|
|
|
RF_setfreq(self,
frequency)
Set the frequency in Hz. |
source code
|
|
|
|
|
|
|
RF_setchan(self,
channel)
Set the ZigBee/802.15.4 channel number. |
source code
|
|
|
|
RF_getsmac(self)
Return the source MAC address. |
source code
|
|
|
|
RF_setsmac(self,
mac)
Set the source MAC address. |
source code
|
|
|
|
RF_gettmac(self)
Return the target MAC address. |
source code
|
|
|
|
RF_settmac(self,
mac)
Set the target MAC address. |
source code
|
|
|
|
RF_getrssi(self)
Returns the received signal strength, with a weird offset. |
source code
|
|
|
|
peekram(self,
adr,
count)
Peeks data from CC2420 RAM. |
source code
|
|
|
|
pokeram(self,
adr,
data)
Pokes data into CC2420 RAM. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
RF_txpacket(self,
packet)
Send a packet through the radio. |
source code
|
|
|
|
RF_reflexjam(self,
duration=0)
Place the device into reflexive jamming mode. |
source code
|
|
|
|
RF_reflexjam_autoack(self)
Place the device into reflexive jamming mode and that also sends a
forged ACK if needed. |
source code
|
|
|
|
RF_modulated_spectrum(self)
Hold a carrier wave on the present frequency. |
source code
|
|
|
|
RF_carrier(self)
Hold a carrier wave on the present frequency. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
RF_setpacketlen(self,
len=16)
Set the number of bytes in the expected payload. |
source code
|
|
|
|
RF_getpacketlen(self)
Set the number of bytes in the expected payload. |
source code
|
|
|
|
RF_getmaclen(self)
Get the number of bytes in the MAC address. |
source code
|
|
|
|
RF_setmaclen(self,
len)
Set the number of bytes in the MAC address. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from GoodFET.GoodFET:
MONpeek16,
MONpeek8,
MONpoke16,
__init__,
bslResetZ1,
btInit,
call,
dir,
dump,
dumpmem,
eeprompeek,
erase,
execute,
findbaud,
flash,
getConsole,
getbuffer,
getpc,
getsecret,
glitchApp,
glitchRate,
glitchTime,
glitchVerb,
glitchVoltages,
glitchstart,
glitchstarttime,
halt,
infostring,
loadsymbols,
lock,
mon_connected,
monitor_info,
monitor_list_apps,
monitor_ram_depth,
monitor_ram_pattern,
monitorclocking,
monitorecho,
monitorgetclock,
monitorsetclock,
monitortest,
name2adr,
out,
peek16,
peek32,
peek8,
peekblock,
peekbysym,
picROMclock,
picROMfastclock,
poke16,
pokeblock,
pokebysym,
pokebyte,
pyserInit,
readbyte,
readcmd,
readpicROM,
resume,
serClose,
serInit,
setBaud,
setsecret,
silent,
start,
telosBReset,
telosI2CStart,
telosI2CStop,
telosI2CWriteBit,
telosI2CWriteByte,
telosI2CWriteCmd,
telosSetSCL,
telosSetSDA,
test,
testleds,
timeout,
writecmd,
writepicROM
|