removed progress bar when signal percentage is 0 to present the value
This commit is contained in:
@@ -11,7 +11,7 @@ phone_number="$1"
|
||||
message="$2"
|
||||
|
||||
# Send the AT command to set the message format to text mode
|
||||
echo -ne "AT+CMGF=1\r" > microcom /dev/ttyOUT2
|
||||
echo -ne "AT+CMGF=1\r" > microcom -s /dev/ttyOUT2
|
||||
sleep 1
|
||||
echo -ne "AT+CNMI=2,1\r" > microcom /dev/ttyOUT2
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user