repo.or.cz
/
RRG-proxmark3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2629 from pingu2211/hf-mifare-refacor
[RRG-proxmark3.git]
/
client
/
experimental_lib
/
example_c
/
test.c
blob
6debb332cc7d97dddd1d9a31db318332f423db44
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include
"pm3.h"
4
5
int
main
(
int
argc
,
char
*
argv
[]) {
6
if
(
argc
<
2
) {
7
printf
(
"Usage: %s <port>
\n
"
,
argv
[
0
]);
8
exit
(-
1
);
9
}
10
pm3
*
p
;
11
p
=
pm3_open
(
argv
[
1
]);
12
pm3_console
(
p
,
"hw status"
,
false
,
false
);
13
pm3_close
(
p
);
14
}