code: def setKeySequenceCounter(self, iKeySequenceValue):
          
          print '%s call setKeySequenceCounter' % self.port
          print iKeySequenceValue
          try:
              cmd = WPANCTL_CMD + 'setprop Network:KeyIndex %s' % str(iKeySequenceValue)
              if self.__sendCommand(cmd)[0] != 'Fail':
                  time.sleep(1)
                  return True
              else:
                  return False
          except Exception, e:
              ModuleHelper.WriteIntoDebugLogger('setKeySequenceCounter() Error: ' + str(e))
docs: set the Key sequence counter corresponding to Thread Network master key
  
          Args:
              iKeySequenceValue: key sequence value
  
          Returns:
              True: successful to set the key sequence
              False: fail to set the key sequence