gnokii-users
[Top][All Lists]
Advanced

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

Re: Gnokii, bluetooth, and a 6230i.


From: Nat Friedman
Subject: Re: Gnokii, bluetooth, and a 6230i.
Date: Fri, 09 Sep 2005 19:06:23 -0400

On Fri, 2005-09-09 at 18:40 -0400, Nat Friedman wrote:
> The other issue I have is that sending SMS messages with Gnokii doesn't
> work for me at all.

Okay, this is actually somewhat more complicated than I thought.

When I try to send an SMS to a phone number beginning in a '+', gnokii
fails like so:

        # gnokii --sendsms +1617.......
        GNOKII Version 0.6.8
        LOG: debug mask is 0x1
        phone instance config:
        model: 6510
        port_device: 00:13:70:A8:8A:62
        connection_type: 5
        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: 14
        sm_retry: off
        Connecting
        Serial device: opening device 00:13:70:A8:8A:62
        Can't connect: Permission denied
        Couldn't open PHONET device: Permission denied
        Error in link initialisation: 1
        Telephone interface init failed: Command failed.
        Quitting.
        Serial device: closing device

When I leave out the '+', it looks like it will work, but then it fails:

        # gnokii --sendsms 1617.......
        GNOKII Version 0.6.8
        LOG: debug mask is 0x1
        phone instance config:
        model: 6510
        port_device: 00:13:70:A8:8A:62
        connection_type: 5
        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: 14
        sm_retry: off
        Connecting
        Serial device: opening device 00:13:70:A8:8A:62
        Getting model...
        Message sent: 0x1b / 0x0006
        00 01 00 07 01 00                               |
        Message received: 0x1b / 0x0032
        01 44 00 08 00 01 58 2c 00 26 56 20 30 33 2e 32 |  D    X, &V
        03.2
        33 0a 31 35 2d 30 33 2d 30 35 0a 52 4d 37 32 5f | 3 15-03-05
        RM72_
        37 33 5f 2d 0a 47 53 4d 20 50 31 2e 31 0a 43 00 | 73_- GSM P1.1
        C
        00 00                                           |
        Received message type 1b
        model length: 9
        Received model RM72_73_-
        Message sent: 0x02 / 0x0006
        00 01 00 14 01 00                               |
        Message received: 0x02 / 0x0036
        01 87 00 15 00 01 0b 30 01 e0 00 00 a9 03 82 0c |        0 à  ©
        02 08 07 91 91 07 73 96 03 f1 82 08 01 02 00 81 |       s  ñ
        55 55 81 14 10 00 00 41 00 57 00 53 00 20 00 53 | UU     A W S
        S
        00 4d 00 53 00 00                               |  M S
        Received message type 02
        Frame of type 0x02 (SMS handling) received!
        SMSC Received
        Please enter SMS text. End your input with <cr><control-D>:
        hello
        General Data Coding
        dcs: 0x0
        Length: 0x6
        user_data_length: 0x6
        ValidityIndicator: 2
        user_data: 0A7499CD7E03
        Sending
        Sending SMS...(62)
        Message sent: 0x02 / 0x003e
        00 01 00 02 00 00 00 55 55 01 02 34 11 00 00 00 |        UU  4
        00 04 82 0c 01 08 0b 81 61 71 83 78 96 f3 82 0c |         aq x ó
        02 03 02 91 f1 00 00 00 00 00 80 10 06 06 0a 74 |     ñ
        t
        99 cd 7e 03 55 55 55 55 55 55 08 04 01 a9       |  Í~ UUUUUU   ©
        Received message type 02
        Frame of type 0x02 (SMS handling) received!
        SMS sending failed
        SMS Send failed (Command failed.)
        Serial device: closing device
        
And somewhere in there, of course, it asks me for the pin to pair the
phone with the computer. :-)

Nat







reply via email to

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