Add: new lua scripting support for some t55xx commands.

core.t55xx_detect()    - same as 'lf t55xx detect'
  core.t55xx_readblock() - read t55xx block, don't forget to run detect before.  Returns actual blockdata.
This commit is contained in:
iceman1001 2019-04-03 19:48:00 +02:00
commit 38162917dc
4 changed files with 187 additions and 37 deletions

View file

@ -29,6 +29,7 @@
#include "cmdhfmfhard.h"
#include "cmdhfmfu.h"
#include "protocols.h"
#include "cmdlft55xx.h" // read t55xx etc
#define LUA_LIBRARIES_DIRECTORY "lualibs/"
#define LUA_SCRIPTS_DIRECTORY "scripts/"