From 838255fbac15f1cee4b7f936085fb7725043af0e Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 18 Feb 2021 19:43:15 +0200 Subject: [PATCH] wifiqr.bash: enable highest error correction --- bash/wifiqr.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bash/wifiqr.bash b/bash/wifiqr.bash index 26fc6c4..00fe146 100755 --- a/bash/wifiqr.bash +++ b/bash/wifiqr.bash @@ -2,10 +2,12 @@ # Arguments: SSID and WPA2 (3 untested) passphrase +# -l H uses the highest error correction in case 30 % gets damaged (or artistried upon) + # Outputs QR code to terminal -qrencode -t utf8 "WIFI:T:WPA;S:$1;P:$2;;" +qrencode -l H -t utf8 "WIFI:T:WPA;S:$1;P:$2;;" # Stores QR code as SSID.png, -s doubles pixel size from default 3 -qrencode -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;" +qrencode -l H -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;" # Prints details echo "SSID: $1"