seems you are trying to set the sim card as store location of sms. try using the equipment. Check user guide for details. Also add cmee=1 or 2 to your init string to get verbose errors.
Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Fri, Oct 28, 2011 at 9:19 PM, Harbhag Singh Sohal <[email protected]> wrote: > I am getting the following error whenever I try to initialize the modem. > > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: --> ATZ^M > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT^M > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: <-- AT > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT&F^M > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: <-- AT&F > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:53 [26564] [6] DEBUG: AT2[huawei_e220]: --> ATE0^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- ATE0 > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT+IFC=2,2^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT+CPIN?^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- +CPIN: READY > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT+CMGF=0^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT+CSMS=?^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> > AT+CNMI=2,1,2,2,0;+CMEE=1^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- +CSMS: (0-1) > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- OK > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS="SM"^M > 2011-10-29 07:43:54 [26564] [6] DEBUG: AT2[huawei_e220]: <-- +CMS ERROR: 500 > 2011-10-29 07:43:54 [26564] [6] ERROR: AT2[huawei_e220]: +CMS ERROR: +CMS > ERROR: 500 > 2011-10-29 07:43:54 [26564] [6] ERROR: AT2[huawei_e220]: +CMS ERROR: An > unknown error occurred (500) > 2011-10-29 07:43:54 [26564] [6] ERROR: AT2[huawei_e220]: Initialization of > device failed. Attempt #1 on -1 max. > 2011-10-29 07:43:54 [26564] [6] INFO: AT2[huawei_e220]: Closing device > 2011-10-29 07:43:54 [26564] [6] ERROR: AT2[huawei_e220]: Couldn't connect > (retrying in 10 seconds). > > What can be the problem, > > Thanks > >
