code: def getMAC(self, bType=MacType.RandomMac):
          
          print '%s call getMAC' % self.port
          print bType
          # if power down happens, return extended address assigned previously
          if self.isPowerDown:
              macAddr64 = self.mac
          else:
              if bType == MacType.FactoryMac:
                  macAddr64 = self.__sendCommand('eui64')[0]
              elif bType == MacType.HashMac:
                  macAddr64 = self.__sendCommand('joinerid')[0]
              else:
                  macAddr64 = self.__sendCommand('extaddr')[0]
          print macAddr64
  
          return int(macAddr64, 16)
docs: get one specific type of MAC address
             currently OpenThread only supports Random MAC address
  
          Args:
              bType: indicate which kind of MAC address is required
  
          Returns:
              specific type of MAC address