GSM modem routine library