docs: def __convertRlocToRouterId(self, xRloc16):
          """mapping Rloc16 to router id
  
          Args:
              xRloc16: hex rloc16 short address
  
          Returns:
              actual router id allocated by leader
          """
          routerList = []
          routerList = self.__sendCommand('router list')[0].split()
          print routerList
          print xRloc16
  
          for index in routerList:
              router = []
              cmd = 'router %s' % index
              router = self.__sendCommand(cmd)
  
              for line in router:
                  if 'Done' in line:
                      break
                  elif 'Router ID' in line:
                      routerid = line.split()[2]
                  elif 'Rloc' in line:
                      rloc16 = line.split()[1]
                  else:
                      pass
  
              # process input rloc16
              if isinstance(xRloc16, str):
                  rloc16 = '0x' + rloc16
                  if rloc16 == xRloc16:
                      return routerid
              elif isinstance(xRloc16, int):
                  if int(rloc16, 16) == xRloc16:
                      return routerid
              else:
                  pass
  
          return None