Skip to content

Commit 061c486

Browse files
committed
fix the stty magic to get more scans
1 parent 19a35ee commit 061c486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scan_beacon/ble112_device.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def open
3535

3636
def configure_port
3737
if RUBY_PLATFORM =~ /linux/
38-
system("stty -F #{@port} 115200 -brkint -icrnl -imaxbel -opost -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke;min=0")
38+
system("stty -F #{@port} 115200 raw -brkint -icrnl -imaxbel -opost -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke")
3939
end
4040
end
4141

0 commit comments

Comments
 (0)