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

Public Member Functions

synchronized void delete ()
 
 RN2903 (long uart, long baudrate)
 
 RN2903 (long uart)
 
 RN2903 (String uart_path, long baudrate)
 
 RN2903 (String uart_path)
 
void setResponseWaitTime (long wait_ms)
 
void setResponseWaitTime ()
 
void setResponse2WaitTime (long wait_ms)
 
void setResponse2WaitTime ()
 
boolean dataAvailable (long millis)
 
void drain ()
 
RN2903_RESPONSE_T command (String cmd)
 
RN2903_RESPONSE_T commandWithArg (String cmd, String arg)
 
RN2903_RESPONSE_T waitForResponse (int wait_ms)
 
String getResponse ()
 
int getResponseLen ()
 
void setDeviceEUI (String str)
 
void getDeviceEUI ()
 
void setDeviceAddr (String str)
 
void getDeviceAddr ()
 
void setNetworkSessionKey (String str)
 
void setApplicationSessionKey (String str)
 
void setApplicationEUI (String str)
 
void getApplicationEUI ()
 
void setApplicationKey (String str)
 
void getApplicationKey ()
 
String toHex (String src)
 
String fromHex (String src)
 
RN2903_JOIN_STATUS_T join (RN2903_JOIN_TYPE_T type)
 
RN2903_MAC_TX_STATUS_T macTx (RN2903_MAC_MSG_TYPE_T type, int port, String payload)
 
RN2903_RESPONSE_T radioTx (String payload)
 
RN2903_RESPONSE_T radioRx (int window_size)
 
String getHardwareEUI ()
 
void updateMacStatus ()
 
int getMacStatusWord ()
 
RN2903_MAC_STATUS_T getMacStatus ()
 
void macSave ()
 
void macPause ()
 
void macResume ()
 
void reset ()
 
void macSetBattery (int level)
 
void setDebug (boolean enable)
 
void setBaudrate (long baudrate)
 
void setFlowControl (RN2903_FLOW_CONTROL_T fc)
 
boolean find (String str)
 
String getRadioRxPayload ()
 
boolean autobaud (int retries)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (RN2903 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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