Esempio n. 1
0
 def __init__(self):
     BranchNode.__init__(self, "query_state")
     #self.attrs['addr'] = RCIAttribute("addr", "Extended address of node (default is gateway XBee)")#, type="xbee_ext_addr")
     radio = BranchNode("radio", "XBee radio parameters")
     self.attach(radio)
     radio.attach(
         ATLeafNode('channel', 'CH', DTYPE.xHEX32, 'Operating channel', 10,
                    26))
Esempio n. 2
0
 def __init__(self):
     BranchNode.__init__(self, 'discover')
Esempio n. 3
0
 def __init__(self):
     BranchNode.__init__(self, "query_state")
     #self.attrs['addr'] = RCIAttribute("addr", "Extended address of node (default is gateway XBee)")#, type="xbee_ext_addr")
     radio = BranchNode("radio", "XBee radio parameters")
     self.attach(radio)
     radio.attach(ATLeafNode('channel', 'CH', DTYPE.xHEX32, 'Operating channel', 10, 26))    
Esempio n. 4
0
 def __init__(self):
     BranchNode.__init__(self, 'discover')
Esempio n. 5
0
 def __init__(self):
     BranchNode.__init__(self, 'do_command')
Esempio n. 6
0
 def __init__(self):
     BranchNode.__init__(self, 'query_state')
Esempio n. 7
0
 def __init__(self, device_tree):
     BranchNode.__init__(self, "query_descriptor")
     self.device_tree = device_tree
Esempio n. 8
0
 def descriptor_xml(self, xml_node):
     if not len(xml_node):
         return BranchNode.descriptor_xml(self, xml_node)
     else:
         return self.child_descriptors(xml_node)
Esempio n. 9
0
 def __init__(self):
     BranchNode.__init__(self, 'query_setting')
Esempio n. 10
0
 def __init__(self):
     BranchNode.__init__(self, "rci_request")
Esempio n. 11
0
 def __init__(self, root):
     BranchNode.__init__(self, 'put_file')
     self.root = root
Esempio n. 12
0
 def __init__(self, root):
     BranchNode.__init__(self, 'ls')
     self.root = root
Esempio n. 13
0
 def __init__(self, root):
     BranchNode.__init__(self, 'put_file')
     self.root = root
Esempio n. 14
0
 def __init__(self, root):
     BranchNode.__init__(self, 'ls')
     self.root = root