bash script to automate AT commands

This “contact your reseller” bullcrap is getting old and this is my first day of ownership. I’m tempted to return this and just put a USB 4G dongle into a Raspberry Pi.