build: fix USB-JTAG API, PRI macros, linker symbols for ESP-IDF 5.5

This commit is contained in:
Clawdia
2026-05-20 06:36:35 +02:00
parent 76d50165c4
commit 5248ff7b82
15 changed files with 1976 additions and 2273 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef CITS_CSV_WRITER_H
#define CITS_CSV_WRITER_H
#include <stdint.h>
/* ---------- C-ITS Message Record (für CSV) ---------- */
typedef struct {
uint32_t timestamp_sec;
uint32_t timestamp_usec;
uint16_t length;
uint8_t sender_id[6]; // MAC Address
uint8_t message_type; // BSI Message Type
uint8_t channel; // Kanal
int16_t rssi; // Signal Stärke
} cits_message_t;
/* ---------- Public API ---------- */
esp_err_t csv_writer_init(void);
void csv_writer_deinit(void);
void csv_store_cits_message(const cits_message_t *msg);
#endif /* CITS_CSV_WRITER_H */