build: fix USB-JTAG API, PRI macros, linker symbols for ESP-IDF 5.5
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user