Hi, I'm trying to use gnokii with my mobile(Nokia 7610). It works perfectly with sendsms. But i get error while using getsms. here is the output i got:
vis...@vishnu-desktop:~/proj$ gnokii --getsms ME 1 GNOKII Version 0.6.27 LOG: debug mask is 0x1 Config read from file /home/vishnu/.gnokiirc. phone instance config: model = AT port = /dev/ttyACM0 connection = serial initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ttyACM0 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 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM<cr>] read : [AT+GMM<cr><cr><lf>Nokia 7610<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x001b 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 37 36 31 30 0d 0a 0d 0a 4f 4b 0d | 7610 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>Nokia<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0017 02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia 0d 0a 0d 0a 4f 4b 0d | 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: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x61 / 0x0023 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437" 4f 4b 0d | OK Received message type 61 Initialisation completed Message sent: 0x61 / 0x000a 41 54 2b 43 53 43 53 3d 3f 0d | AT+CSCS=? write: [AT+CSCS=?<cr>] read : [AT+CSCS=?<cr><cr><lf>+CSCS: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX")<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x61 / 0x004f 02 41 54 2b 43 53 43 53 3d 3f 0d 0d 0a 2b 43 53 | AT+CSCS=? +CS 43 53 3a 20 28 22 55 43 53 32 22 2c 22 47 53 4d | CS: ("UCS2","GSM 22 2c 22 50 43 43 50 34 33 37 22 2c 22 50 43 44 | ","PCCP437","PCD 4e 22 2c 22 49 52 41 22 2c 22 38 38 35 39 2d 31 | N","IRA","8859-1 22 2c 22 48 45 58 22 29 0d 0a 0d 0a 4f 4b 0d | ","HEX") OK Received message type 61 Message sent: 0x00 / 0x000e 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d | AT+CSCS="GSM" write: [AT+CSCS="GSM"<cr>] read : [AT+CSCS="GSM"<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x0014 02 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d 0d | AT+CSCS="GSM" 0a 4f 4b 0d | OK Received message type 00 Message sent: 0x00 / 0x000d 41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d | AT+CPMS="ME" write: [AT+CPMS="ME"<cr>] read : [AT+CPMS="ME"<cr><cr><lf>ERROR<cr><lf>] Message received: 0x00 / 0x0016 03 41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d 0d 0a | AT+CPMS="ME" 45 52 52 4f 52 0d | ERROR Received message type 00 GetSMS ME 1 failed! (Unknown error - well better than nothing!!) Serial device: closing device Can anyone help me with this error? Regards, Deepak. _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc