From 4edcd908a7c3a093bc689f6971706ee8ffc800cd Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 22 Aug 2018 22:36:41 +0200 Subject: [PATCH] FIX: ntag215 is 7.. Thanks @axfla for pointing it out. --- client/scripts/amiibo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/amiibo.lua b/client/scripts/amiibo.lua index 0e19d03d4..cc2459f30 100644 --- a/client/scripts/amiibo.lua +++ b/client/scripts/amiibo.lua @@ -85,7 +85,7 @@ local function emulate_amiibo (amiibo_data) print(string.format('Simulating with UID: 0x%04x 0x%04x', uid_first, uid_second)) -- Begin simulating NTAG215 - local simCmd = Command:new{cmd = cmds.CMD_SIMULATE_TAG_ISO_14443a, arg1 = 6, arg2 = uid_first, arg3 = uid_second} + local simCmd = Command:new{cmd = cmds.CMD_SIMULATE_TAG_ISO_14443a, arg1 = 7, arg2 = uid_first, arg3 = uid_second} local _, err = reader.sendToDevice(simCmd) if err then print('Failed to start simulator', err)