gnokii-users
[Top][All Lists]
Advanced

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

6310i and sendsms


From: Dewachter Johan
Subject: 6310i and sendsms
Date: Mon, 20 Oct 2003 19:16:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Hi,

I'm having problems trying to send SMS messages using a Nokia 6310i and dlr3p cable.
I get:

GNOKII Version 0.5.5
Opened configuration file /root/.gnokiirc
Added new section global
Adding key/value port//dev/ttyS0
Adding key/value model/6510
Adding key/value initlength/default
Adding key/value connection/dlr3p
Adding key/value bindir//usr/local/sbin/
Adding key/value use_locking/yes
Added new section connect_script
Adding key/value TELEPHONE/12345678
Added new section disconnect_script
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 2
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Received Ack of type 1b, seq: 80]
[Sending Ack of type 1b, seq: 6]
Message received: 0x1b / 0x0032
01 2f 00 08 00 01 58 2d 00 26 56 20 35 2e 32 32 |  /    X- &V 5.22
20 20 20 20 20 0a 31 35 2d 31 31 2d 30 32 0a 4e |       15-11-02 N
50 4c 2d 31 0a 28 63 29 20 4e 4d 50 2e 0a 43 00 | PL-1 (c) NMP. C
00 00                                           |
Received message type 1b
model length: 5
Received model NPL-1
Message sent: 0x02 / 0x0006
00 01 00 14 01 00                               |
[Received Ack of type 02, seq:  1]
[Sending Ack of type 02, seq: 7]
Message received: 0x02 / 0x0042
01 5d 00 15 00 01 0b 3c 01 e0 00 00 ad 03 82 10 |  ]     <
02 09 08 81 00 23 74 15 16 16 f6 00 00 00 82 0c |      #t
01 07 0a 81 40 68 58 51 43 0a 81 18 14 00 00 50 |     @hXQC      P
00 72 00 6f 00 78 00 69 00 53 00 4d 00 53 00 43 |  r o x i S M S C
00 00                                           |
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMSC Received
General Data Coding
dcs: 0x0
Length: 0x4
user_data_length: 0x4
ValidityIndicator: 2
user_data: F4F29C0E
Sending
Sending SMS...(54)
Message sent: 0x02 / 0x0036
00 01 00 02 00 00 00 55 55 01 02 2c 11 00 00 00 |        UU  ,
00 04 82 0c 01 07 0a 81 40 68 58 51 43 00 82 0c |         @hXQC
02 09 08 81 00 23 74 15 16 16 80 08 04 04 f4 f2 |      #t
9c 0e 08 04 01 a9                               |
[Received Ack of type 02, seq:  2]
[Sending Ack of type 02, seq: 0]
Message received: 0x02 / 0x000e
01 5d 00 03 00 01 0c 08 01 01 3c 09 5c 00       |  ]        < \
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMS sending failed
SMS Send failed (Command failed.)
Serial device: closing device

- in .gnokiirc:
     model=6510 (6310 gives the same result)
     connection=dlr3p
- the OS is Redhat 9
- gnokii version 0.5.5 compiled from source
- I'm trying all of this as root.
- manually sending an sms to the same number works.
- some other gnokii commands work:
  --identify gives me
        IMEI         : 351457202770027
        Manufacturer : Nokia
        Model        : NPL-1
        Revision     : V 5.22
  --getsmsc works

Does anyone have an idea of what I could be doing wrong?

Thanks in advance,
Johan






reply via email to

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