mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-17 09:50:05 +08:00
11 lines
227 B
C
11 lines
227 B
C
#include "pm3.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
pm3_context *ctx;
|
|
ctx = pm3_init();
|
|
pm3_device *p;
|
|
p = pm3_open(ctx, "/dev/ttyACM0");
|
|
pm3_console(p, "hw status");
|
|
pm3_close(p);
|
|
pm3_exit(ctx);
|
|
}
|