mirror of
https://gitea.osmocom.org/sim-card/simtrace.git
synced 2026-03-23 00:38:36 +03:00
import the host PC utility for the at91sam7 based sniffer
This program receives the USB messages from the AT91SAM7 and forrwards them via GSMTAP to wireshark.
This commit is contained in:
16
at91sam7/host/apdu_split.h
Normal file
16
at91sam7/host/apdu_split.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _APDU_SPLIT_H
|
||||
#define _APDU_SPLIT_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct apdu_split;
|
||||
|
||||
typedef void apdu_cb_t(uint8_t *buf, unsigned int len, void *user_data);
|
||||
|
||||
struct apdu_split *apdu_split_init(apdu_cb_t *apdu_out_cb, void *user_data);
|
||||
|
||||
int apdu_split_reset(struct apdu_split *as);
|
||||
void apdu_split_in(struct apdu_split *as, uint8_t *buf, int len);
|
||||
void apdu_split_boundary(struct apdu_split *as);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user