From 2d2c7d80ca6a90d0b0eef469fa4bf68c0d71c722 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 26 Aug 2023 15:15:07 +0200 Subject: Implement basic writing --- libtwn3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libtwn3.h') diff --git a/libtwn3.h b/libtwn3.h index 91b3406..d998c24 100644 --- a/libtwn3.h +++ b/libtwn3.h @@ -36,11 +36,11 @@ int twn3_sync_storekey(int fd, uint8_t flags, uint8_t keyid, uint8_t key[6]); int twn3_sync_antenna(int fd, uint8_t flags, uint8_t enable); /* Mifare commands */ -int twn3_sync_select_first(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length); +int twn3_sync_select_first(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length); //TBD clarify interface -int twn3_sync_list(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length); -int twn3_sync_select(int fd, uint8_t flags, uint8_t* type, uint8_t* serial, size_t* length); +int twn3_sync_list(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length); +int twn3_sync_select(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, size_t* length); int twn3_sync_auth(int fd, uint8_t flags, uint8_t key_a, uint8_t block, uint8_t key[6]); int twn3_sync_auth_stored(int fd, uint8_t flags, uint8_t key_a, uint8_t block, uint8_t key_id); -- cgit v1.2.3