Gnokii with Nokia 5500
Casper Gripenberg <[email protected]> Sat, 28 Nov 2015 22:34:14 +0200
| Newsgroups | gmane.linux.drivers.gnokii |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is there any way to get gnokii to work with the Nokia 5500 model? I only need SMS functionality, but it doesn't seem to want to cooperate :( Debug session below: > gnokii --version GNOKII Version 0.6.31 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 > gnokii --identify GNOKII Version 0.6.31 IMEI : ***************** Manufacturer : Nokia No flags section in the config file. Model : Nokia Product name : Nokia Revision : V 03.55 > gnokii --showsmsfolderstatus GNOKII Version 0.6.31 No. Name Id #Msg ======================================================== (...nothing else shown...) > gnokii --getsms IN 1 GNOKII Version 0.6.31 Getting SMS failed (location 1 from IN memory)! (Unknown error - well better than nothing!!) =================================================================== With debugging turned on: =================================================================== > gnokii --showsmsfolderstatus GNOKII Version 0.6.31 LOG: debug mask is 0x1 Config read from file /home/casper/.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<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0016 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 0d | AT+GMM Nokia 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>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: 0x63 / 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: 0x63 / 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 63 Initialisation completed Message sent: 0x1a / 0x000a 41 54 2b 43 50 4d 53 3d 3f 0d | AT+CPMS=? write: [AT+CPMS=?<cr>] read : [AT+CPMS=?<cr><cr><lf>+CPMS: (),(),()<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x1a / 0x0023 02 41 54 2b 43 50 4d 53 3d 3f 0d 0d 0a 2b 43 50 | AT+CPMS=? +CP 4d 53 3a 20 28 29 2c 28 29 2c 28 29 0d 0a 0d 0a | MS: (),(),() 4f 4b 0d | OK Received message type 1a strings[0] = strings[1] = (null) strings[2] = (null) strings[3] = (null) Ignoring unknown memory type "". No. Name Id #Msg ======================================================== Serial device: closing device > gnokii --getsms IN 1 GNOKII Version 0.6.31 LOG: debug mask is 0x1 Config read from file /home/casper/.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<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0016 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 0d | AT+GMM Nokia 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>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: 0x63 / 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: 0x63 / 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 63 Initialisation completed Getting message #1 from IN Message sent: 0x00 / 0x000d 41 54 2b 43 50 4d 53 3d 22 49 4e 22 0d | AT+CPMS="IN" write: [AT+CPMS="IN"<cr>] read : [AT+CPMS="IN"<cr><cr><lf>ERROR<cr><lf>] Message received: 0x00 / 0x0016 03 41 54 2b 43 50 4d 53 3d 22 49 4e 22 0d 0d 0a | AT+CPMS="IN" 45 52 52 4f 52 0d | ERROR Received message type 00 Getting SMS failed (location 1 from IN memory)! (Unknown error - well better than nothing!!) Serial device: closing device Thx.. Casper