SmartMeshSDK
 All Classes Namespaces Functions Variables Groups
DC2126_data_noGUI Namespace Reference

Classes

class  NullHandler
 

Functions

def connect_manager_serial
 Function to connect Manager to Serial port. More...
 
def dc2126_data
 Function to handle the data when a data notification happens. More...
 
def parseData
 

Variables

list here = sys.path[0]
 
tuple log = logging.getLogger('App')
 
string DEFAULT_MgrSERIALPORT = 'COM11'
 
string DEFAULT_MoteSERIALPORT = 'COM15'
 
tuple mymanager = IpMgrConnectorSerial.IpMgrConnectorSerial()
 
tuple converters = DC2126AConverters.DC2126AConverters()
 
int CMDID_BASE = 0x2484
 
 CMDID_GET_CONFIG = CMDID_BASE
 
int CMDID_SET_CONFIG = CMDID_BASE+1
 
 CMDID_CONFIGURATION = CMDID_BASE
 
int CMDID_REPORT = CMDID_BASE+1
 
int ERR_BASE = 0x0BAD
 
 ERR_NO_SERVICE = ERR_BASE
 
int ERR_NOT_ENOUGH_BW = ERR_BASE+1
 
int ERR_INVALID = ERR_BASE+2
 
tuple subscriber = IpMgrSubscribe.IpMgrSubscribe(mymanager)
 
list notifTypes
 
 fun = dc2126_data,
 
 isRlbl = False,
 

Function Documentation

def DC2126_data_noGUI.connect_manager_serial (   mymanager)

Function to connect Manager to Serial port.

def DC2126_data_noGUI.dc2126_data (   notifName,
  notifParams 
)

Function to handle the data when a data notification happens.

def DC2126_data_noGUI.parseData (   byteArray)

Variable Documentation

int DC2126_data_noGUI.CMDID_BASE = 0x2484
DC2126_data_noGUI.CMDID_CONFIGURATION = CMDID_BASE
DC2126_data_noGUI.CMDID_GET_CONFIG = CMDID_BASE
int DC2126_data_noGUI.CMDID_REPORT = CMDID_BASE+1
int DC2126_data_noGUI.CMDID_SET_CONFIG = CMDID_BASE+1
tuple DC2126_data_noGUI.converters = DC2126AConverters.DC2126AConverters()
string DC2126_data_noGUI.DEFAULT_MgrSERIALPORT = 'COM11'
string DC2126_data_noGUI.DEFAULT_MoteSERIALPORT = 'COM15'
int DC2126_data_noGUI.ERR_BASE = 0x0BAD
int DC2126_data_noGUI.ERR_INVALID = ERR_BASE+2
DC2126_data_noGUI.ERR_NO_SERVICE = ERR_BASE
int DC2126_data_noGUI.ERR_NOT_ENOUGH_BW = ERR_BASE+1
DC2126_data_noGUI.fun = dc2126_data,
list DC2126_data_noGUI.here = sys.path[0]
DC2126_data_noGUI.isRlbl = False,
tuple DC2126_data_noGUI.log = logging.getLogger('App')
tuple DC2126_data_noGUI.mymanager = IpMgrConnectorSerial.IpMgrConnectorSerial()
list DC2126_data_noGUI.notifTypes
Initial value:
1 = [
2  IpMgrSubscribe.IpMgrSubscribe.NOTIFDATA,
3  ]
tuple DC2126_data_noGUI.subscriber = IpMgrSubscribe.IpMgrSubscribe(mymanager)