mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-24 01:35:16 +00:00
SWIG experiments
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ln -fs ../build/libpm3rrg_rdv4.so pm3.so
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# pm3.so somewhere in default LUA_CPATH :
|
||||
# /usr/local/lib/lua/5.2/pm3.so
|
||||
# /usr/lib/lua/5.2/pm3.so
|
||||
# ./pm3.so
|
||||
|
||||
lua test.lua
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
local pm3 = require("pm3")
|
||||
p=pm3.open("/dev/ttyACM0")
|
||||
pm3.console(p, "hw status")
|
||||
pm3.close(p)
|
||||
Reference in New Issue
Block a user