upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
RF22 Class Reference

Classes

class  ModemConfig
 
class  ModemConfigChoice
 

Public Member Functions

synchronized void delete ()
 
 RF22 (int spiBus, int slaveSelectPin, int interruptPin)
 
 RF22 (int spiBus, int slaveSelectPin)
 
 RF22 (int spiBus)
 
short init ()
 
void reset ()
 
short spiRead (short reg)
 
void spiWrite (short reg, short val)
 
void spiBurstRead (short reg, byte[] dest, short len)
 
void spiBurstWrite (short reg, byte[] src, short len)
 
short statusRead ()
 
short adcRead (short adcsel, short adcref, short adcgain, short adcoffs)
 
short adcRead (short adcsel, short adcref, short adcgain)
 
short adcRead (short adcsel, short adcref)
 
short adcRead (short adcsel)
 
short adcRead ()
 
short temperatureRead (short tsrange, short tvoffs)
 
short temperatureRead (short tsrange)
 
short temperatureRead ()
 
int wutRead ()
 
void setWutPeriod (int wtm, short wtr, short wtd)
 
void setWutPeriod (int wtm, short wtr)
 
void setWutPeriod (int wtm)
 
short setFrequency (float center, float afcPullInRange)
 
short setFrequency (float center)
 
short setFHStepSize (short fhs)
 
short setFHChannel (short fhch)
 
short rssiRead ()
 
short ezmacStatusRead ()
 
void setMode (short mode)
 
void setModeIdle ()
 
void setModeRx ()
 
void setModeTx ()
 
short mode ()
 
void setTxPower (short power)
 
void setModemRegisters (RF22.ModemConfig config)
 
short setModemConfig (RF22.ModemConfigChoice index)
 
short available ()
 
void waitAvailable ()
 
boolean waitAvailableTimeout (long timeout)
 
short recv (byte[] buf, short[] len)
 
short send (byte[] data, short len)
 
void waitPacketSent ()
 
void setPromiscuous (short promiscuous)
 
short headerTo ()
 
short headerFrom ()
 
short headerId ()
 
short headerFlags ()
 
short lastRssi ()
 
void setPreambleLength (short nibbles)
 
void setSyncWords (byte[] syncWords, short len)
 

Static Public Member Functions

static void printBuffer (String prompt, byte[] buf, short len)
 

Protected Member Functions

 RF22 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (RF22 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: