8 LOG_INFO_GENERIC = 0x10,
9 LOG_INFO_CONFIG_CHANGED = 0x11,
12 LOG_INFO_RX_DATA = 0x20,
13 LOG_INFO_TX_DATA = 0x21,
16 LOG_INFO_APP_RESET = 0x30,
17 LOG_ERR_APP_AUTH_FAIL = 0x31,
18 LOG_ERR_APP_CHECKSUM_FAIL = 0x32,
29 typedef void (*LogFuncType) (LogEntryEnum Entry,
void* Data, uint8_t Length);
31 extern LogFuncType LogFunc;
37 void LogMemClear(
void);
38 uint16_t LogMemFree(
void);
40 bool LogMemLoadBlock(
void* Buffer, uint32_t BlockAddress, uint16_t ByteCount);
42 void LogSetModeById(LogModeEnum Mode);
43 bool LogSetModeByName(
const char* Name);
44 void LogGetModeByName(
char* Name, uint16_t BufferSize);
45 void LogGetModeList(
char* List, uint16_t BufferSize);
47 INLINE
void LogEntry(LogEntryEnum Entry,
void* Data, uint8_t Length) { LogFunc(Entry, Data, Length); }