Merge pull request #2629 from pingu2211/hf-mifare-refacor
[RRG-proxmark3.git] / client / experimental_lib / example_c / test.c
blob6debb332cc7d97dddd1d9a31db318332f423db44
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include "pm3.h"
5 int main(int argc, char *argv[]) {
6 if (argc < 2) {
7 printf("Usage: %s <port>\n", argv[0]);
8 exit(-1);
10 pm3 *p;
11 p = pm3_open(argv[1]);
12 pm3_console(p, "hw status", false, false);
13 pm3_close(p);