Problem param --smsreader (Nokia 5130 XpressMusic)
Denis Khabarov <[email protected]> Tue, 17 Sep 2013 22:37:34 +0400
| Newsgroups | gmane.linux.drivers.gnokii |
|---|---|
| Organization | Hub21.ru |
| Message-ID | <[email protected]> |
Hi all. I encountered a problem when receiving sms messages: $ gnokii --smsreader GNOKII Version 0.6.29 LOG: debug mask is 0x1 LOG: rlpdebug mask is 0x1 LOG: xdebug mask is 0x1 Config read from file /root/.config/gnokii/config. 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 5130c-2<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x001e 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 35 31 33 30 63 2d 32 0d 0a 0d 0a 4f 4b 0d | 5130c-2 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: 0x29 / 0x000c 41 54 2b 43 4e 4d 49 3d 31 2c 31 0d | AT+CNMI=1,1 write: [AT+CNMI=1,1<cr>] read : [AT+CNMI=1,1<cr><cr><lf>ERROR<cr><lf>] Message received: 0x29 / 0x0015 03 41 54 2b 43 4e 4d 49 3d 31 2c 31 0d 0d 0a 45 | AT+CNMI=1,1 E 52 52 4f 52 0d | RROR Received message type 29 Message sent: 0x29 / 0x000c 41 54 2b 43 4e 4d 49 3d 30 2c 31 0d | AT+CNMI=0,1 write: [AT+CNMI=0,1<cr>] read : [AT+CNMI=0,1<cr><cr><lf>ERROR<cr><lf>] Message received: 0x29 / 0x0015 03 41 54 2b 43 4e 4d 49 3d 30 2c 31 0d 0d 0a 45 | AT+CNMI=0,1 E 52 52 4f 52 0d | RROR Received message type 29 Error: Unknown error - well better than nothing!! Serial device: closing device Config: $ sudo cat /root/.config/gnokii/config [global] port = /dev/ttyACM0 model = AT # 6110 initlength = default connection = serial use_locking = no #serial_baudrate = 19200 smsc_timeout = 10 [logging] debug = on rlpdebug = on xdebug = on Phone: Nokia 5130 XpressMusic (Connected to pc with mode PC Suite); OS: Debian GNU/Linux 6; Possible to solve this problem? Thx --