* rate limit to 1.5s instead of 3s * allow for format_debug_message.py to take in file instead of command line string * added '\0' suffix for rfid messages to ipc_server
@@ -57,7 +57,7 @@ import re
import sys
import time
-rate_limit_ms = 3000.0
+rate_limit_ms = 1500.0
def convert_tagid(s):
binstr = ""
@@ -29,7 +29,7 @@ d=$BASEDIR/bin
stdbuf -eL -oL $d/proxmark3 /dev/ttyACM0 -l proxmark3-lf-hid-read.lua | \
stdbuf -eL -oL tee -a /tmp/rfid_raw.log | \
$d/rfid_filter | \
- xargs -n1 -I{} bash -c " $d/format_debug_msg.py TOKEN_RFID '{}' | $d/debug_client -s " | \
+ xargs -n1 -I{} bash -c " $d/format_debug_msg.py TOKEN_RFID -i <( echo -e -n '{}\0' ) | $d/debug_client -s " | \
tee -a /tmp/rfid.log