gnokii-users
[Top][All Lists]
Advanced

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

Re: gnokii smsd not giving me a clue as to why it is not sending and rec


From: helpFractal
Subject: Re: gnokii smsd not giving me a clue as to why it is not sending and receiving sms'
Date: Fri, 4 Jan 2013 11:11:52 -0800 (PST)

Thanks for your help but ...


Daniele Forsi-2 wrote:
> 
>> However, there are no clues as to what the problem is because smsd
>> returns,
>> without error, to the shell prompt.
> 
> echo $?
> should print the numeric return code, whose meaning can be found here
> http://wiki.gnokii.org/index.php/Developer%27s_Guide#Error_Codes
> 

The error code is: 138 - which is not listed :(


Daniele Forsi-2 wrote:
> 
> you can enable debug messages for smsd setting xdebug=on under the
> [logging] section of your config file and low level debug messages
> setting debug=on
> 

I already have these options set.

Additional
--------------------
Are there any other tests that I can run that might shed some light on what
is going on? Perhaps using gnokii? I tried ....

sh-3.2# echo "This is a test message" | gnokii --sendsms +447721234567
--report --smsc +447958879890
GNOKII Version 0.6.31
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /opt/local/etc/gnokiirc.
Cannot open logfile /var/root/Library/Logs/gnokii/gnokii-errors
WARNING: cannot open logfile, logs will be directed to stderr
phone instance config:
model = AT
port = /dev/cu.usbmodem411
connection = serial
initlength = default
serial_baudrate = 9600
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 1
Initializing AT capable mobile phone ...
Serial device: opening device /dev/cu.usbmodem411
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ             
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d                                     |  OK             
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1            
write: [ATE1<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 / 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>NEXPERIA SY.SOL 5209<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0025
02 41 54 2b 47 4d 4d 0d 0d 0a 4e 45 58 50 45 52 |  AT+GMM   NEXPER
49 41 20 53 59 2e 53 4f 4c 20 35 32 30 39 0d 0a | IA SY.SOL 5209  
0d 0a 4f 4b 0d                                  |   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>NXP<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x0015
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 58 50 0d 0a |  AT+CGMI   NXP  
0d 0a 4f 4b 0d                                  |   OK            
Received message type 63
Initialisation completed
=====> ENTER gn_sms_send()
enc_chars: 22
ext_chars: 0
total: 20
size of the input string: 22 bytes
number of characters in the input string: 22 chars
=====> ENTER sms_send_single()
General Data Coding
Default Alphabet
        size: 20
        offset: 0
        encoded size: 20
        rawsms length: 22
        rawsms user data length: 20
dcs: 0x00
Length: 0x16
user_data_length: 0x14
ValidityIndicator: 2
user_data: 54747A0E4ACF416110BD3CA783DAE5F93C7C2E03
Input is 22 bytes long
SMS is 20 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+CSCS?<cr><cr><lf>+CSCS: "GSM"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x65 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 47 53 4d 22 0d 0a 0d 0a 4f 4b 0d    | S: "GSM"    OK  
Received message type 65
PDU mode set
Sending initial sequence
Message sent: 0x66 / 0x000b
41 54 2b 43 4d 47 53 3d 33 34 0d                | AT+CMGS=34      
write: [AT+CMGS=34<cr>]
Got response: Command timed out.
SMS Send failed (Command timed out.)
Serial device: closing device
sh-3.2# 

-- 
View this message in context: 
http://old.nabble.com/gnokii-smsd-not-giving-me-a-clue-as-to-why-it-is-not-sending-and-receiving-sms%27-tp34856997p34860150.html
Sent from the gnokii-users mailing list archive at Nabble.com.




reply via email to

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