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))