2022-06-09 08:35:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-03 12:25:36 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
2022-06-09 08:35:34 +00:00
|
|
|
|
2022-09-03 12:25:36 +00:00
|
|
|
typedef struct NfcDebugPcap NfcDebugPcap;
|
2022-06-14 01:14:13 +00:00
|
|
|
|
2022-09-03 12:25:36 +00:00
|
|
|
NfcDebugPcap* nfc_debug_pcap_alloc();
|
2022-06-14 01:14:13 +00:00
|
|
|
|
2022-09-03 12:25:36 +00:00
|
|
|
void nfc_debug_pcap_free(NfcDebugPcap* instance);
|
2022-06-14 01:14:13 +00:00
|
|
|
|
2022-09-03 12:25:36 +00:00
|
|
|
void nfc_debug_pcap_process_data(
|
|
|
|
NfcDebugPcap* instance,
|
|
|
|
uint8_t* data,
|
|
|
|
uint16_t len,
|
|
|
|
bool reader_to_tag,
|
|
|
|
bool crc_dropped);
|