NfcErrorCode code = low ? disableDiscovery() : enableDiscovery(); 
mMsgHandler->processResponse(resType, code, NULL);

same for below.
It seems FAILED macro is not neccesary.