Get result of AT command to a variable in Bash script

Use sms_tool or gcom with scripts (more complex).
Example:
T=$(sms_tool -d $DEVICE at "at+qtemp")

1 Like