Refactor RFID handler and user structures; add UART configuration and packet parsing functions; create logger header and source files

This commit is contained in:
2025-05-13 10:28:37 +02:00
parent 039a9e4770
commit 0a5f176582
6 changed files with 110 additions and 4 deletions
View File
+9 -1
View File
@@ -1,7 +1,15 @@
#ifndef __RFID_HANDLER_H__
#define __RFIT_HANDLER_H__
#endif
#include "main.h"
// UART handler thread
void *uartListener(void *arg);
void parseIncommingPacket(BYTE * _packet);
void sendPacketToDevice(BYTE * _packet);
#endif
+2 -2
View File
@@ -12,8 +12,8 @@ typedef struct person
{
uint16_t uuid;
char *name;
char *surname;
BYTE *name;
BYTE *surname;
uint32_t department;
time_t last_time_event;