gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on SMS and DATA


From: kmshetty
Subject: Re: Help on SMS and DATA
Date: Wed, 15 Dec 2010 15:50:26 -0500

Thanks for the quick reply.

I can browse the internet in the phone and also browse when I use it as modem.
If I understand correctly, we can do browsing using gnokii?

Thanks for the help again. Below is the complete log.

Below is the full log(Changed the phone number):


$ echo "This is a test message" | gnokii --sendsms XXX2339212
GNOKII Version 0.6.12
LOG: debug mask is 0x1
phone instance config:
model: AT
port_device: /dev/ttyS7
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyS7
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 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>CU515<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 43 47 4d 4d 0d 0d 0a 43 55 35 31 35 |  AT+CGMM   CU515
0d 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>LG ELECTRONICS<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0020
02 41 54 2b 43 47 4d 49 0d 0d 0a 4c 47 20 45 4c |  AT+CGMI   LG EL
45 43 54 52 4f 4e 49 43 53 0d 0a 0d 0a 4f 4b 0d | ECTRONICS    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: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 49 52 41 22 0d 0a 0d 0a 4f 4b 0d    | S: "IRA"    OK
Received message type 61
Initialisation completed
Message sent: 0x23 / 0x0009
41 54 2b 43 53 43 41 3f 0d                      | AT+CSCA?
write: [AT+CSCA?<cr>]
read : [AT+CSCA?<cr><cr><lf>+CSCA: "",<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x23 / 0x001d
02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCA?   +CSC
41 3a 20 22 22 2c 0d 0a 0d 0a 4f 4b 0d          | A: "",    OK
Received message type 23
General Data Coding
dcs: 0x8
Length: 0x16
user_data_length: 0x16
ValidityIndicator: 2
user_data: 00540069002000730061007400730020006500730067
Sending
Message sent: 0x63 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d                   | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 63
PDU mode set
Sending initial sequence
Message sent: 0x64 / 0x000b
41 54 2b 43 4d 47 53 3d 33 35 0d                | AT+CMGS=35
write: [AT+CMGS=35<cr>]
read : [AT+CMGS=35<cr><cr><lf>> ]
Message received: 0x64 / 0x000f
01 41 54 2b 43 4d 47 53 3d 33 35 0d 0d 0a 3e    |  AT+CMGS=35   >
Received message type 64
Got response 0
Sending frame: 0011000A8124253329210008AA1600540069002000730061007400730020006500730067
Message sent: 0x21 / 0x0049
30 30 31 31 30 30 30 41 38 31 32 34 32 35 33 33 | 0011000A81242533
32 39 32 31 30 30 30 38 41 41 31 36 30 30 35 34 | 29210008AA160054
30 30 36 39 30 30 32 30 30 30 37 33 30 30 36 31 | 0069002000730061
30 30 37 34 30 30 37 33 30 30 32 30 30 30 36 35 | 0074007300200065
30 30 37 33 30 30 36 37 1a                      | 00730067
write: [0011000A8124253329210008AA1600540069002000730061007400730020006500730067^Z]
read : [^AJ11000A8124253329210008AA16005400690020007300610074007300200065<cr><lf>00730067<cr><lf>+CMS ERROR: 330<cr><lf>]
Message received: 0x21 / 0x005d
04 01 4a 31 31 30 30 30 41 38 31 32 34 32 35 33 |   J11000A8124253
33 32 39 32 31 30 30 30 38 41 41 31 36 30 30 35 | 329210008AA16005
34 30 30 36 39 30 30 32 30 30 30 37 33 30 30 36 | 4006900200073006
31 30 30 37 34 30 30 37 33 30 30 32 30 30 30 36 | 1007400730020006
35 0d 0a 30 30 37 33 30 30 36 37 0d 0a 2b 43 4d | 5  00730067  +CM
53 20 45 52 52 4f 52 3a 20 33 33 30 0d          | S ERROR: 330
Received message type 21
SMS Send failed (Command failed.)
Serial device: closing device





On Wed, Dec 15, 2010 at 3:37 PM, Daniele Forsi <address@hidden> wrote:
2010/12/15 kmshetty:

> Also is there way to make data call (Web browsing ) Using gnokii?

no, just configure your phone with the standard tools of your distribution

> Help would be appreciated.

you didn't paste the full log... gnokii may have tried to help you
with the message "Cannot read the SMSC number from your phone. If the
sms send will fail, please use --smsc option explicitely giving the
number."
If it didn't print it please show the rest of the log and in any case try that.

> +CMS ERROR: 330

it means that SMSC number is unknown
--
Daniele Forsi

_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users



--
-------------------------------------------------------------------------------
My Technical Blog:http://www.kmshetty.blogspot.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]