gnokii --identify says the phone is a
Product name : Nokia X3-02
Revision : V 05.65
Once in a while I get "Problem occurred internal to model specific code", here's the whole debug output.
GNOKII Version 0.6.31
LOG: debug mask is 0x1
Config read from file /etc/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 : [AT+CMGS=79<cr><cr><lf>> ]
Message received: 0x00 / 0x000f
01 41 54 2b 43 4d 47 53 3d 37 39 0d 0d 0a 3e | AT+CMGS=79 >
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d | ATE1
write: [ATE1<cr>]
read : [ATZ<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x000d
03 41 54 5a 0d 0d 0a 45 52 52 4f 52 0d | ATZ ERROR
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 : [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: 0x06 / 0x0007
41 54 2b 47 4d 4d 0d | AT+GMM
write: [AT+GMM<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 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+GMM<cr><cr><lf>Nokia X3-02<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia
58 33 2d 30 32 0d 0a 0d 0a 4f 4b 0d | X3-02 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+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x63 / 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 63
Initialisation completed
Message sent: 0x63 / 0x000a
41 54 2b 43 53 43 53 3d 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
Message sent: 0x23 / 0x0009
41 54 2b 43 53 43 41 3f 0d | AT+CSCA?
write: [AT+CSCA?<cr>]
read : [AT+CSCS=?<cr><cr><lf>+CSCS: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-\
1","HEX","UTF-8")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x23 / 0x0057
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 2c 22 55 54 46 2d 38 22 29 | ","HEX","UTF-8")
0d 0a 0d 0a 4f 4b 0d | OK
Received message type 23
Cannot read the SMSC number from your phone. If the sms send will fail, please \
use --smsc option explicitely giving the number.
=====> ENTER gn_sms_send()
total: 51
size of the input string: 58 bytes
number of characters in the input string: 58 chars
=====> ENTER sms_send_single()
General Data Coding
Default Alphabet
size: 51
offset: 0
encoded size: 51
rawsms length: 58
rawsms user data length: 51
dcs: 0x00
Length: 0x3a
user_data_length: 0x33
ValidityIndicator: 2
user_data: 62B69B0E97CD006376989DA6BBDEF2B32BCD06B540C13AFD6D4CE3412D9034DC4EB3\
40C13AFD6D4CE3412D9034DC4E837A201B
Input is 58 bytes long
SMS is 51 octets long
Sending
Message sent: 0x65 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CSCA?<cr><cr><lf>+CSCA: "+97254120032",145<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x65 / 0x002c
02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 | AT+CSCA? +CSC
41 3a 20 22 2b 39 37 32 35 34 31 32 30 30 33 32 | A: "+97254120032
22 2c 31 34 35 0d 0a 0d 0a 4f 4b 0d | ",145 OK
Received message type 65
PDU mode set
Sending initial sequence
Message sent: 0x66 / 0x000b
41 54 2b 43 4d 47 53 3d 36 34 0d | AT+CMGS=64
write: [AT+CMGS=64<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x66 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK
Received message type 66
Got response: Problem occurred internal to model specific code.
SMS Send failed (Problem occurred internal to model specific code.)
Serial device: closing device