mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-14 17:13:05 -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_py/01link_lib.sh
Executable file
3
client/lib/example_py/01link_lib.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
ln -fs ../build/libpm3rrg_rdv4.so _pm3.so
|
11
client/lib/example_py/02run_test.sh
Executable file
11
client/lib/example_py/02run_test.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
#/usr/local/lib/python3/dist-packages/_pm3.cpython-38.so
|
||||
#/usr/local/lib/python3/dist-packages/_pm3.abi3.so
|
||||
#/usr/local/lib/python3/dist-packages/pm3.py
|
||||
#/usr/lib/python3/dist-packages/_pm3.cpython-38.so
|
||||
#/usr/lib/python3/dist-packages/_pm3.abi3.so
|
||||
#/usr/lib/python3/dist-packages/pm3.py
|
||||
|
||||
# need access to pm3.py
|
||||
PYTHONPATH=../../src ./test.py
|
7
client/lib/example_py/test.py
Executable file
7
client/lib/example_py/test.py
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import 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