mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-30 11:39:14 -07:00
SWIG experiments
This commit is contained in:
parent
62ce1cdf13
commit
a503dfcd98
34 changed files with 8106 additions and 15 deletions
3
client/lib/example_lua/01link_lib.sh
Executable file
3
client/lib/example_lua/01link_lib.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
ln -fs ../build/libpm3rrg_rdv4.so pm3.so
|
8
client/lib/example_lua/02run_test.sh
Executable file
8
client/lib/example_lua/02run_test.sh
Executable file
|
@ -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
|
4
client/lib/example_lua/test.lua
Executable file
4
client/lib/example_lua/test.lua
Executable file
|
@ -0,0 +1,4 @@
|
|||
local pm3 = require("pm3")
|
||||
p=pm3.open("/dev/ttyACM0")
|
||||
pm3.console(p, "hw status")
|
||||
pm3.close(p)
|
Loading…
Add table
Add a link
Reference in a new issue