gnokii-users
[Top][All Lists]
Advanced

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

Re: SMS on CDMA USB/PCMCIA Data Cards


From: Dinesh Shah (દિન ેશ શાહ/द िनेश शाह)
Subject: Re: SMS on CDMA USB/PCMCIA Data Cards
Date: Sun, 23 Nov 2008 15:53:17 +0530

Dear Daniele,

Please find my response and further inputs in-line.

On Sat, Nov 22, 2008 at 10:27 PM, Daniele Forsi <address@hidden> wrote:
> but did you try gnokii with it? which commands work and which don't?
> copy error messages here
>
> most or all commands that are supported also by GSM phones should
> work, but sending SMS will probably fail with a CDMA phone

Here is the output of the Gnokii with debug on

./gnokii --sendsms 9821311906
GNOKII Version 0.6.27
Couldn't read /home/dinesh/.gnokiirc config file.
Couldn't read /home/dinesh/.gnokiirc config file.
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 = 115200
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>ERROR<cr><lf>]
Message received: 0x00 / 0x0013
03 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 45 52 52 |  AT+CMEE=1   ERR
4f 52 0d                                        | OR
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>+GMM: Model 220<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0020
02 41 54 2b 47 4d 4d 0d 0d 0a 2b 47 4d 4d 3a 20 |  AT+GMM   +GMM:
4d 6f 64 65 6c 20 32 32 30 0d 0a 0d 0a 4f 4b 0d | Model 220    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>ERROR<cr><lf>]
Message received: 0x06 / 0x0011
03 41 54 2b 43 47 4d 49 0d 0d 0a 45 52 52 4f 52 |  AT+CGMI   ERROR
0d                                              |
Received message type 06
Message sent: 0x06 / 0x0007
41 54 2b 47 4d 49 0d                            | AT+GMI
write: [AT+GMI<cr>]
read : [AT+GMI<cr><cr><lf>+GMI: QUALCOMM,
Incorporated<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x002d
02 41 54 2b 47 4d 49 0d 0d 0a 2b 47 4d 49 3a 20 |  AT+GMI   +GMI:
51 55 41 4c 43 4f 4d 4d 2c 20 49 6e 63 6f 72 70 | QUALCOMM, Incorp
6f 72 61 74 65 64 0d 0a 0d 0a 4f 4b 0d          | orated    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>ERROR<cr><lf>]
Message received: 0x61 / 0x0012
03 41 54 2b 43 53 43 53 3f 0d 0d 0a 45 52 52 4f |  AT+CSCS?   ERRO
52 0d                                           | R
Received message type 61
Initialisation completed
Message sent: 0x61 / 0x000a
41 54 2b 43 53 43 53 3d 3f 0d                   | AT+CSCS=?
write: [AT+CSCS=?<cr>]
read : [AT+CSCS=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x61 / 0x0013
03 41 54 2b 43 53 43 53 3d 3f 0d 0d 0a 45 52 52 |  AT+CSCS=?   ERR
4f 52 0d                                        | OR
Received message type 61
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>ERROR<cr><lf>]
Message received: 0x23 / 0x0012
03 41 54 2b 43 53 43 41 3f 0d 0d 0a 45 52 52 4f |  AT+CSCA?   ERRO
52 0d                                           | R
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.
Please enter SMS text. End your input with <cr><control-D>:
Test
General Data Coding
dcs: 0x0
Length: 0x4
user_data_length: 0x4
ValidityIndicator: 2
user_data: D4F29C0E
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>ERROR<cr><lf>]
Message received: 0x63 / 0x0013
03 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 45 52 52 |  AT+CMGF=0   ERR
4f 52 0d                                        | OR
Received message type 63
PDU mode is not supported by gnokii. This mobile supports only TEXT mode
SMS Send failed (Unknown error - well better than nothing!!)
Serial device: closing device

>> I am interested in using/adding support for these CDMA USB/PCMCIA
>> cards to gnokii
>
> you need to find if they support the AT+CMGS command in "PDU mode"
> (just try gnokii --sendsms, if they don't then you need to add "Text
> mode" to gnokii, join #gnokii on freenode for advice) and if they need
> the SMSC number (this might be operator specific)

As you can see, the device does not support PDU mode. What are the
alternatives? Does Gnokii support Text mode? How can I turn on the
Text mode in Gnokii?

I am attaching my gnokiirc file also.

TIA for your help and support.

> --
> Daniele Forsi

With regards,
-- 
--Dinesh Shah :-)
Shah Micro System
+91-98213-11906
Blog-1: http://dineshah.wordpress.com/
Blog-2: http://dineshah.blogspot.com/
Rodney Dangerfield  - "I looked up my family tree and found out I was the sap."

Attachment: gnokiirc
Description: Binary data


reply via email to

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