parameters: (
          self,
          Addr='ff02::1',
          xCommissionerSessionID=None,
          xSteeringData=None,
          xBorderRouterLocator=None,
          xChannelTlv=None,
          ExceedMaxPayload=False,
      )
docstring: send MGMT_COMM_SET command
  
          Returns:
              True: successful to send MGMT_COMM_SET
              False: fail to send MGMT_COMM_SET
docstring_summary: send MGMT_COMM_SET command
docstring_tokens: send MGMT_COMM_SET command
function: def MGMT_COMM_SET(
          self,
          Addr='ff02::1',
          xCommissionerSessionID=None,
          xSteeringData=None,
          xBorderRouterLocator=None,
          xChannelTlv=None,
          ExceedMaxPayload=False,
      ):
          """send MGMT_COMM_SET command
  
          Returns:
              True: successful to send MGMT_COMM_SET
              False: fail to send MGMT_COMM_SET
          """
          print('%s call MGMT_COMM_SET' % self.port)
          try:
              cmd = self.wpan_cmd_prefix + 'commissioner mgmt-set '
              print('-------------------------------')
              print(xCommissionerSessionID)
              print(xSteeringData)
              print(str(xSteeringData) + '   ' + str(hex(xSteeringData)[2:]))
              print(xBorderRouterLocator)
              print(xChannelTlv)
              print(ExceedMaxPayload)
              print('-------------------------------')
  
              if xCommissionerSessionID is not None:
                  # use assigned session id
                  cmd += '0b02' + str(xCommissionerSessionID)
              elif xCommissionerSessionID is None:
                  # use original session id
                  if self.isActiveCommissioner is True:
                      cmd += '0b02' + self.__lstrip0x(self.__getCommissionerSessionId())
                  else:
                      pass
  
              if xSteeringData is not None:
                  cmd += '08' + str(len(hex(xSteeringData)[2:])) + str(hex(xSteeringData)[2:])
  
              if xBorderRouterLocator is not None:
                  cmd += '0902' + str(hex(xBorderRouterLocator))
  
              if xChannelTlv is not None:
                  cmd += '000300' + '%04x' % xChannelTlv
  
              print(cmd)
  
              return self.__sendCommand(cmd)[0] != 'Fail'
  
          except Exception as e:
              ModuleHelper.WriteIntoDebugLogger('MGMT_COMM_SET() Error: ' + str(e))
function_tokens: def MGMT_COMM_SET ( self , Addr = 'ff02::1' , xCommissionerSessionID = None , xSteeringData = None , xBorderRouterLocator = None , xChannelTlv = None , ExceedMaxPayload = False , ) : print ( '%s call MGMT_COMM_SET' % self . port ) try : cmd = self . wpan_cmd_prefix + 'commissioner mgmt-set ' print ( '-------------------------------' ) print ( xCommissionerSessionID ) print ( xSteeringData ) print ( str ( xSteeringData ) + '   ' + str ( hex ( xSteeringData ) [ 2 : ] ) ) print ( xBorderRouterLocator ) print ( xChannelTlv ) print ( ExceedMaxPayload ) print ( '-------------------------------' ) if xCommissionerSessionID is not None : # use assigned session id cmd += '0b02' + str ( xCommissionerSessionID ) elif xCommissionerSessionID is None : # use original session id if self . isActiveCommissioner is True : cmd += '0b02' + self . __lstrip0x ( self . __getCommissionerSessionId ( ) ) else : pass if xSteeringData is not None : cmd += '08' + str ( len ( hex ( xSteeringData ) [ 2 : ] ) ) + str ( hex ( xSteeringData ) [ 2 : ] ) if xBorderRouterLocator is not None : cmd += '0902' + str ( hex ( xBorderRouterLocator ) ) if xChannelTlv is not None : cmd += '000300' + '%04x' % xChannelTlv print ( cmd ) return self . __sendCommand ( cmd ) [ 0 ] != 'Fail' except Exception as e : ModuleHelper . WriteIntoDebugLogger ( 'MGMT_COMM_SET() Error: ' + str ( e ) )