Chameleon-Mini
Enumerations
Log.h File Reference
#include "Common.h"

Go to the source code of this file.

Enumerations

enum  LogEntryEnum {
  LOG_INFO_GENERIC = 0x10, LOG_INFO_CONFIG_SET = 0x11, LOG_INFO_SETTING_SET = 0x12, LOG_INFO_UID_SET = 0x13,
  LOG_INFO_RESET_APP = 0x20, LOG_INFO_CODEC_RX_DATA = 0x40, LOG_INFO_CODEC_TX_DATA = 0x41, LOG_INFO_CODEC_RX_DATA_W_PARITY = 0x42,
  LOG_INFO_CODEC_TX_DATA_W_PARITY = 0x43 , LOG_INFO_CODEC_READER_FIELD_DETECTED = 0x48, LOG_INFO_APP_CMD_READ = 0x80, LOG_INFO_APP_CMD_WRITE = 0x81,
  LOG_INFO_APP_CMD_INC = 0x84, LOG_INFO_APP_CMD_DEC = 0x85, LOG_INFO_APP_CMD_TRANSFER = 0x86, LOG_INFO_APP_CMD_RESTORE = 0x87,
  LOG_INFO_APP_CMD_AUTH = 0x90, LOG_INFO_APP_CMD_HALT = 0x91, LOG_INFO_APP_CMD_UNKNOWN = 0x92, LOG_INFO_APP_AUTHING = 0xA0,
  LOG_INFO_APP_AUTHED = 0xA1, LOG_ERR_APP_AUTH_FAIL = 0xC0, LOG_ERR_APP_CHECKSUM_FAIL = 0xC1, LOG_ERR_APP_NOT_AUTHED = 0xC2,
  LOG_INFO_SYSTEM_BOOT = 0xFF, LOG_EMPTY = 0x00
}
 

Enumeration Type Documentation

◆ LogEntryEnum

Enum for log entry type.

Note
Every entry type has a specific integer value, which can be found in the source code.
Enumerator
LOG_INFO_GENERIC 

Unspecific log entry.

LOG_INFO_CONFIG_SET 

Configuration change.

LOG_INFO_SETTING_SET 

Setting change.

LOG_INFO_UID_SET 

UID change.

LOG_INFO_RESET_APP 

Application reset.

LOG_INFO_CODEC_RX_DATA 

Currently active codec received data.

LOG_INFO_CODEC_TX_DATA 

Currently active codec sent data.

LOG_INFO_CODEC_RX_DATA_W_PARITY 

Currently active codec received data.

LOG_INFO_CODEC_TX_DATA_W_PARITY 

Currently active codec sent data.

LOG_INFO_CODEC_READER_FIELD_DETECTED 

Add logging of the LEDHook case for FIELD_DETECTED.

LOG_INFO_APP_CMD_READ 

Application processed read command.

LOG_INFO_APP_CMD_WRITE 

Application processed write command.

LOG_INFO_APP_CMD_INC 

Application processed increment command.

LOG_INFO_APP_CMD_DEC 

Application processed decrement command.

LOG_INFO_APP_CMD_TRANSFER 

Application processed transfer command.

LOG_INFO_APP_CMD_RESTORE 

Application processed restore command.

LOG_INFO_APP_CMD_AUTH 

Application processed authentication command.

LOG_INFO_APP_CMD_HALT 

Application processed halt command.

LOG_INFO_APP_CMD_UNKNOWN 

Application processed an unknown command.

LOG_INFO_APP_AUTHING 

Application is in authing state.

LOG_INFO_APP_AUTHED 

Application is in auth state.

LOG_ERR_APP_AUTH_FAIL 

Application authentication failed.

LOG_ERR_APP_CHECKSUM_FAIL 

Application had a checksum fail.

LOG_ERR_APP_NOT_AUTHED 

Application is not authenticated.

LOG_INFO_SYSTEM_BOOT 

Chameleon boots.

LOG_EMPTY 

nor the two systick bytes nor any data.

Empty Log Entry. This is not followed by a length byte