Skip to content

Commit 195cc77

Browse files
committedJun 9, 2024·
fix HID with tinyusb
1 parent 89f069f commit 195cc77

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
 

‎utils/set-nfc-en.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
if [ -z "$1" ]; then
3+
exit 1
4+
fi
5+
echo "Reader name: $1"
6+
TS=$(printf %08x $(date +%s))
7+
(cat <<-EOF
8+
00A4040005F000000000
9+
0020000006313233343536
10+
00140${2}00
11+
EOF
12+
) | scriptor -r "$1"

0 commit comments

Comments
 (0)
Please sign in to comment.