Skip to content

Commit b718869

Browse files
committed
0.2.200
possible fix to fast pipe closures for quicker devices
1 parent c0e214c commit b718869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

monitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# ----------------------------------------------------------------------------------------
2626

2727
#VERSION NUMBER
28-
export version=0.2.199
28+
export version=0.2.200
2929

3030
#COLOR OUTPUT FOR RICH OUTPUT
3131
ORANGE=$'\e[1;33m'

support/btle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ btle_text_listener () {
348348

349349
#DEFINE VARAIBLES
350350
while IFS= read -r line; do
351-
352-
351+
#maintain the pipe for faster machines.
352+
printf "%s\n" "" > packet_pipe
353353
if [[ $line =~ ^\> ]] || [[ $line =~ ^\< ]] || [[ $line =~ RSSI ]]; then
354354
[[ $line =~ RSSI ]] && packet="$packet~$line"
355355
if [[ $packet =~ ^\> ]]; then

0 commit comments

Comments
 (0)