buggnokii - Bugs: bug #21210, Can't read position SM 0 on Huawei...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21210: Can't read position SM 0 on Huawei E220 but can delete it

Submitted by:  ElChef <elchef>
Submitted on:  Mon 01 Oct 2007 04:13:19 PM UTC  
 
Category: libgnokiiSeverity: 3 - Normal
Item Group: minor malfunctionStatus: Fixed
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Closed

Fri 05 Oct 2007 09:00:20 PM UTC, comment #1:

Okay. Now location 0 should be available for reading.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Mon 01 Oct 2007 04:13:19 PM UTC, original submission:

I can't read the SM 0 (zero) position of a Huawei E220 USB modem (AT+ capable) but I can delete it.
I post my testings...

debian4r0:/var/log# gnokii --phone 1 --getsms SM 0
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyUSB1
connection_type: 0
init_length: 0
serial_baudrate: 57600
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 300
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB1
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK
Received message type 00
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>E220<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0016
02 41 54 2b 43 47 4d 4d 0d 0d 0a 45 32 32 30 0d | AT+CGMM E220
0a 0d 0a 4f 4b 0d | OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>huawei<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 49 0d 0d 0a 68 75 61 77 65 | AT+CGMI huawe
69 0d 0a 0d 0a 4f 4b 0d | i OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC
53 3a 20 22 49 52 41 22 0d 0a 0d 0a 4f 4b 0d | S: "IRA" OK
Received message type 61
Initialisation completed
GetSMS SM 0 failed! (The given location is empty.)
Serial device: closing device
debian4r0:/var/log#

ISN'T EMPTY: Using minicom:
AT+CMGF=1
OK

AT+CPMS?
+CPMS: "SM",3,50,"SM",3,50,"SM",3,50

AT+CMGL="ALL"
+CMGL: 0,"REC READ","+34639619694",,"07/10/01,17:46:37+08"
OK, a las 11:00?
+CMGL: 1,"REC READ","+34639619694",,"07/09/29,10:28:46+08"
Prueba
+CMGL: 2,"REC UNREAD","+34639619694",,"07/10/01,17:53:18+08"
OK, a las 11:00?

NOW DELETING IT:
debian4r0:/var/log# gnokii --phone 1 --deletesms SM 0
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyUSB1
connection_type: 0
init_length: 0
serial_baudrate: 57600
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 300
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB1
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK
Received message type 00
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>E220<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0016
02 41 54 2b 43 47 4d 4d 0d 0d 0a 45 32 32 30 0d | AT+CGMM E220
0a 0d 0a 4f 4b 0d | OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>huawei<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 49 0d 0d 0a 68 75 61 77 65 | AT+CGMI huawe
69 0d 0a 0d 0a 4f 4b 0d | i OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC
53 3a 20 22 49 52 41 22 0d 0a 0d 0a 4f 4b 0d | S: "IRA" OK
Received message type 61
Initialisation completed
Message sent: 0x00 / 0x000d
41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d | AT+CPMS="SM"
write: [AT+CPMS="SM"<cr>]
read : [AT+CPMS="SM"<cr><cr><lf>+CPMS: 3,50,3,50,3,50<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x002c
02 41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d 0d 0a | AT+CPMS="SM"
2b 43 50 4d 53 3a 20 33 2c 35 30 2c 33 2c 35 30 | +CPMS: 3,50,3,50
2c 33 2c 35 30 0d 0a 0d 0a 4f 4b 0d | ,3,50 OK
Received message type 00
Message sent: 0x20 / 0x000a
41 54 2b 43 4d 47 44 3d 30 0d | AT+CMGD=0
write: [AT+CMGD=0<cr>]
read : [AT+CMGD=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x20 / 0x0010
02 41 54 2b 43 4d 47 44 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGD=0 OK
Received message type 20
Deleted SMS SM 0
Serial device: closing device
debian4r0:/var/log# minicom

Welcome to minicom 2.2

OPTIONS: I18n
Compiled on Jan 7 2007, 18:00:43.
Port /dev/ttyUSB1

Press CTRL-A Z for help on special keys

AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
AT+CMGF=1
OK
AT+CPMS?
+CPMS: "SM",2,50,"SM",2,50,"SM",2,50
OK
AT+CMGL="ALL"
+CMGL: 1,"REC READ","+34639619694",,"07/09/29,10:28:46+08"
Prueba
+CMGL: 2,"REC READ","+34639619694",,"07/10/01,17:53:18+08"
OK, a las 11:00?

CAN DELETE BUT CAN'T READ!!!

ElChef <elchef>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkot (Posted a comment)
  • -unavailable- added by elchef (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Oct 2007 09:00:20 PM UTCpkotCategorygnokii=>libgnokii
      StatusNone=>Fixed
      Assigned toNone=>pkot
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1