parameters: (self)
docstring: power down the OpenThreadWpan
docstring_summary: power down the OpenThreadWpan
docstring_tokens: power down the OpenThreadWpan
function: def powerDown(self):
          """power down the OpenThreadWpan"""
          print('%s call powerDown' % self.port)
          if self.__sendCommand(self.wpan_cmd_prefix + 'setprop Daemon:AutoAssociateAfterReset false')[0] != 'Fail':
              time.sleep(0.5)
              if self.__sendCommand(self.wpan_cmd_prefix + 'reset')[0] != 'Fail':
                  self.isPowerDown = True
                  return True
              else:
                  return False
          else:
              return False
function_tokens: def powerDown ( self ) : print ( '%s call powerDown' % self . port ) if self . __sendCommand ( self . wpan_cmd_prefix + 'setprop Daemon:AutoAssociateAfterReset false' ) [ 0 ] != 'Fail' : time . sleep ( 0.5 ) if self . __sendCommand ( self . wpan_cmd_prefix + 'reset' ) [ 0 ] != 'Fail' : self . isPowerDown = True return True else : return False else : return False