Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.idx = Int(0, 2)
self.params += [self.idx]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.status = Int(0, 4)
self.params += [self.status]
#self.mac = None
self.command_counter = None
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.node_mac_id = String(None, length=16)
self.idx = Int(0, 2)
self.params += [self.node_mac_id, self.idx]
def __init__(self, seqnr = None):
#sequence number is always FFFD
PlugwiseResponse.__init__(self, 0xFFFD)
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.status = Int(0, 4)
self.params += [self.status]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.exsisting = Int(0, 2)
self.allowed = Int(0, 2)
self.params += [self.exsisting, self.allowed]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.time = TimeStr()
self.day_of_week = Int(0, 2)
self.date = DateStr()
self.params += [self.time, self.day_of_week, self.date]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.raw = String(None, length=64)
self.logaddr = LogAddr(0, length=8)
self.params += [self.raw, self.logaddr
]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.channel = String(None, length=2)
self.source_mac_id = String(None, length=16)
self.extended_pan_id = String(None, length=16)
self.unique_network_id = String(None, length=16)
self.new_node_mac_id = String(None, length=16)
self.pan_id = String(None, length=4)
self.idx = Int(0, length=2)
self.params += [self.channel, self.source_mac_id, self.extended_pan_id, self.unique_network_id, self.new_node_mac_id, self.pan_id, self.idx]
def __init__(self, seqnr = None):
PlugwiseResponse.__init__(self, seqnr)
self.qin = Int(0, 2)
self.qout = Int(0, 2)
self.pingtime = Int(0, 4)
self.params += [self.qin, self.qout, self.pingtime]