From a7c6ecb320ff1ba6ee85767bffde41cfab1a0cd0 Mon Sep 17 00:00:00 2001 From: cbdev Date: Thu, 24 Aug 2023 02:06:48 +0200 Subject: Mifare prototypes --- twn3_test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'twn3_test.c') diff --git a/twn3_test.c b/twn3_test.c index 583deca..cb4fb3a 100644 --- a/twn3_test.c +++ b/twn3_test.c @@ -36,6 +36,9 @@ int main(int argc, char** argv){ //write some userdata twn3_sync_write_eeprom(device, 0, 19, 0xAA); + //set ExtendID bit + twn3_sync_write_eeprom(device, 0, 5, 0x05); + //store a key uint8_t key[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; twn3_sync_storekey(device, 0, 12, key); -- cgit v1.2.3