gnokii-users
[Top][All Lists]
Advanced

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

Issues with gnokii --sendsms 8 bit


From: Anand Deshpande
Subject: Issues with gnokii --sendsms 8 bit
Date: Thu, 17 Jun 2010 07:14:05 -0700 (PDT)

Hi,
I have installed gnokii 0.6.29 on Ubuntu linux

address@hidden:~/sw/gnokii-0.6.29-linux#uname -a
Linux my-laptop 2.6.32.22-generic #60-Ubuntu SMP May 27 00:22:23 UTM 2010 i686 
GNU/Linux
 
The gnokii --sendsms utility works fine for sending SMS messages, for instance 
when I do
echo "Hello World" | gnokii --sendsms 14081234567 -r
I receive the message correctly on 14081234567

However, when I try to use the 8 bit send option, I don't receive any message 
(PDU or otherwise) on the receiver phone

I am trying to use the -8 or --8bit option on the gnokii utility. I use the 
command
echo 1234567890 | gnokii --sendsms 14081234567 -8 -r

Though the command executes correctly on the sending client, I never receive 
the message on my receiving phone. Any idea what I might be doing wrong or what 
is wrong in this case?

This is my sending client output

address@hidden:~/sw/gnokii-0.6.29-linux# echo 1122334455 | gnokii --sendsms 
"+14082427953" -8 -r
GNOKII Version 0.6.29
Couldn't read /root/.config/gnokii/config config file.
Couldn't read /etc/xdg/gnokii/config config file.
LOG: debug mask is 0x1
Config read from file /root/.gnokiirc.
phone instance config:
model = AT
port = /dev/ttyUSB2
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/ttyUSB2
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>SIMCOM_SIM300<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001e
02 41 54 2b 47 4d 4d 0d 0d 0a 53 49 4d 43 4f 4d |  AT+GMM   SIMCOM
5f 53 49 4d 33 30 30 0d 0a 0d 0a 4f 4b 0d       | _SIM300    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>SIMCOM_Ltd<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 43 47 4d 49 0d 0d 0a 53 49 4d 43 4f |  AT+CGMI   SIMCO
4d 5f 4c 74 64 0d 0a 0d 0a 4f 4b 0d             | M_Ltd    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: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x63 / 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 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: 
("GSM","HEX","IRA","PCCP","PCDN","UCS2","8859-1")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x004c
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 47 53 4d 22 2c 22 48 45 58 22 | CS: ("GSM","HEX"
2c 22 49 52 41 22 2c 22 50 43 43 50 22 2c 22 50 | ,"IRA","PCCP","P
43 44 4e 22 2c 22 55 43 53 32 22 2c 22 38 38 35 | CDN","UCS2","885
39 2d 31 22 29 0d 0a 0d 0a 4f 4b 0d             | 9-1")    OK     
Received message type 63
Message sent: 0x00 / 0x000e
41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d       | AT+CSCS="GSM"   
write: [AT+CSCS="GSM"<cr>]
read : [AT+CSCS="GSM"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0014
02 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d 0d |  AT+CSCS="GSM"  
0a 4f 4b 0d                                     |  OK             
Received message type 00
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: "+12063130004",145<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x23 / 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 31 32 30 36 33 31 33 30 30 30 34 | A: "+12063130004
22 2c 31 34 35 0d 0a 0d 0a 4f 4b 0d             | ",145    OK     
Received message type 23
General Data Coding
8bit
dcs: 0xf4
Length: 0x0a
user_data_length: 0x0a
ValidityIndicator: 2
user_data: 31313232333334343535
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+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x65 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK 
Received message type 65
PDU mode set
Sending initial sequence
Message sent: 0x66 / 0x000b
41 54 2b 43 4d 47 53 3d 32 34 0d                | AT+CMGS=24      
write: [AT+CMGS=24<cr>]
read : [AT+CMGS=24<cr><cr><lf>> ]
Message received: 0x66 / 0x000f
01 41 54 2b 43 4d 47 53 3d 32 34 0d 0d 0a 3e    |  AT+CMGS=24   > 
Received message type 66
Got response: No error.
Sending frame: 07912160130300F431000B914180427259F300F4AA0A31313232333334343535
Message sent: 0x21 / 0x0041
30 37 39 31 32 31 36 30 31 33 30 33 30 30 46 34 | 07912160130300F4
33 31 30 30 30 42 39 31 34 31 38 30 34 32 37 32 | 31000B9141804272
35 39 46 33 30 30 46 34 41 41 30 41 33 31 33 31 | 59F300F4AA0A3131
33 32 33 32 33 33 33 33 33 34 33 34 33 35 33 35 | 3232333334343535
1a                                              |                 
write: [07912160130300F431000B914180427259F300F4AA0A31313232333334343535^Z]
read : 
[07912160130300F431000B914180427259F300F4AA0A31313232333334343535<cr><lf>+CMGS: 
45<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x21 / 0x0053
02 30 37 39 31 32 31 36 30 31 33 30 33 30 30 46 |  07912160130300F
34 33 31 30 30 30 42 39 31 34 31 38 30 34 32 37 | 431000B914180427
32 35 39 46 33 30 30 46 34 41 41 30 41 33 31 33 | 259F300F4AA0A313
31 33 32 33 32 33 33 33 33 33 34 33 34 33 35 33 | 1323233333434353
35 0d 0a 2b 43 4d 47 53 3a 20 34 35 0d 0a 0d 0a | 5  +CMGS: 45    
4f 4b 0d                                        | OK              
Received message type 21
Message sent (reference: 45)
Send succeeded with reference 45!
Serial device: closing device


Thanks,
Anand



      



reply via email to

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