$ gnokii --getsms SM 1 GNOKII Version 0.6.3 LOG: debug mask is 0x1 phone instance config: model: AT port_device: /dev/input/ttyACM0 connection_type: 0 init_length: 0 serial_baudrate: 19200 serial_write_usleep: -1 hardware_handshake: 0 require_dcd: 0 smsc_timeout: 300 connect_script: disconnect_script: rfcomm_cn: 1 Initializing AT capable mobile phone ... Serial device: opening device /dev/input/ttyACM0 Serial device: setting RTS to high and DTR to high Message sent: 0x00 / 0x0004 41 54 5a 0d | ATZ write: [ATZ] Message sent: 0x00 / 0x0005 41 54 45 31 0d | ATE1 write: [ATE1] read : [ATE1OK] 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] read : [AT+CMEE=1OK] 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] read : [AT+CGMM+CGMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=C350"OK] Message received: 0x06 / 0x004b 02 41 54 2b 43 47 4d 4d 0d 0d 0a 2b 43 47 4d 4d | AT+CGMM +CGMM 3a 20 22 47 53 4d 39 30 30 22 2c 22 47 53 4d 31 | : "GSM900","GSM1 38 30 30 22 2c 22 47 53 4d 31 39 30 30 22 2c 22 | 800","GSM1900"," 47 53 4d 38 35 30 22 2c 22 4d 4f 44 45 4c 3d 43 | GSM850","MODEL=C 33 35 30 22 0d 0a 0d 0a 4f 4b 0d | 350" OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI] read : [AT+CGMI+CGMI: "Motorola CE, Copyright 2000"OK] Message received: 0x06 / 0x0036 02 41 54 2b 43 47 4d 49 0d 0d 0a 2b 43 47 4d 49 | AT+CGMI +CGMI 3a 20 22 4d 6f 74 6f 72 6f 6c 61 20 43 45 2c 20 | : "Motorola CE, 43 6f 70 79 72 69 67 68 74 20 32 30 30 30 22 0d | Copyright 2000" 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x59 / 0x0009 41 54 2b 43 53 43 53 3f 0d | AT+CSCS? write: [AT+CSCS?] read : [AT+CSCS?+CSCS: "ASCII"OK] Message received: 0x59 / 0x0021 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 41 53 43 49 49 22 0d 0a 0d 0a 4f 4b | S: "ASCII" OK 0d | Received message type 59 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"] read : [^B^D+CPMS="SM"+CMS ERROR: 516] Message received: 0x00 / 0x0020 04 02 04 2b 43 50 4d 53 3d 22 53 4d 22 0d 0d 0a | +CPMS="SM" 2b 43 4d 53 20 45 52 52 4f 52 3a 20 35 31 36 0d | +CMS ERROR: 516 Received message type 00 GetSMS SM 1 failed! (Unknown error - well better than nothing!!) Serial device: closing device