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