Example #1
0
    void LogHeader(openpal::Logger& logger, int32_t flags, const APDUResponseHeader& header)
    {
#ifndef OPENPAL_STRIP_LOGGING
        FORMAT_LOG_BLOCK(logger, flags, "FIR: %i FIN: %i CON: %i UNS: %i SEQ: %i FUNC: %s IIN: [0x%02x, 0x%02x]",
                         header.control.FIR, header.control.FIN, header.control.CON, header.control.UNS,
                         header.control.SEQ, FunctionCodeToString(header.function), header.IIN.LSB, header.IIN.MSB);
#endif
    }
char const* RestartOperationTask::Name() const
{
	return FunctionCodeToString(m_func);
}