diff options
| author | cbdev <cb@cbcdn.com> | 2023-08-26 15:15:07 +0200 |
|---|---|---|
| committer | cbdev <cb@cbcdn.com> | 2023-08-26 15:15:07 +0200 |
| commit | 2d2c7d80ca6a90d0b0eef469fa4bf68c0d71c722 (patch) | |
| tree | 9d305eb46e0b9107b152a6df1b87c88f077083f7 /libtwn3.h | |
| parent | 12cf1472f159b5aaf26d871d88f684f1f46cf856 (diff) | |
| download | libtwn-2d2c7d80ca6a90d0b0eef469fa4bf68c0d71c722.tar.gz libtwn-2d2c7d80ca6a90d0b0eef469fa4bf68c0d71c722.tar.bz2 libtwn-2d2c7d80ca6a90d0b0eef469fa4bf68c0d71c722.zip | |
Implement basic writing
Diffstat (limited to 'libtwn3.h')
| -rw-r--r-- | libtwn3.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |
