gnokii-users
[Top][All Lists]
Advanced

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

SMSD ignores mysql-db


From: Michael Meier
Subject: SMSD ignores mysql-db
Date: Mon, 27 May 2002 22:17:07 +0200

Hi,

I just installed gnokii 0.4.0pre20 (with debug) successfully.
Afterwards I compiled (with mysql) and installed smsd and startet it up.
It starts up correctly, reads config information, gets model name and
then keeps on fetching the folder names.
I dont know if that is intended but it might be. But it doesnt seem to
look into the mysql-database outbox neither does it put incoming sms
into the inbox. Did anyone happen to have the same problem and might be
able to help me?
I'm grateful for any help :)

P.S.: I'm using a 6210 which is connected to com1 using a dlr3p cable.

Michael


Below a transcript of the first seconds from smsd's debug log:

address@hidden smsd]# ./smsd -m mysql -p [pass]
CFG_ReadFile - open /root/.gnokiirc: No such file or directory
Opened configuration file /etc/gnokiirc
Added new section global
Adding key/value port//dev/ttyS0
Adding key/value model/6210
Adding key/value initlength/default
Adding key/value connection/serial
Adding key/value bindir//usr/local/sbin/
Adding key/value use_locking/yes
Adding key/value serial_baudrate/19200
Added new section connect_script
Adding key/value TELEPHONE/12345678
Added new section disconnect_script
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
[Received Ack of type 1b, seq: 80]
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
[Received Ack of type 1b, seq:  1]
[Sending Ack of type 1b, seq: 4]
Message received: 0x1b / 0x0037
01 1c 00 04 00 56 20 30 35 2e 32 37 0a 30 31 2d |      V 05.27 01-
30 38 2d 30 31 0a 4e 50 45 2d 33 0a 28 63 29 20 | 08-01 NPE-3 (c) 
4e 4d 50 2e 00 4d 50 2e 00 ff ff ff ff ff ff ff | NMP. MP.        
ff ff ff ff ff ff ff                            |                 
Received message type 1b
Received model NPE-3
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2          
[Received Ack of type 1b, seq:  2]
[Sending Ack of type 1b, seq: 5]
Message received: 0x1b / 0x0037
01 1c 00 04 00 56 20 30 35 2e 32 37 0a 30 31 2d |      V 05.27 01-
30 38 2d 30 31 0a 4e 50 45 2d 33 0a 28 63 29 20 | 08-01 NPE-3 (c) 
4e 4d 50 2e 00 4d 50 2e 00 4d 50 2e 00 ff ff ff | NMP. MP. MP.    
ff ff ff ff ff ff ff                            |                 
Received message type 1b
Received model NPE-3
Received revision 05.27
comparing NPE-3 and 
comparing NPE-3 and ?????
comparing NPE-3 and ?????
comparing NPE-3 and NHE-5
comparing NPE-3 and NHE-4
comparing NPE-3 and NHK-4
comparing NPE-3 and 0310
comparing NPE-3 and NSE-8
comparing NPE-3 and NSE-9
comparing NPE-3 and NHM-5
comparing NPE-3 and NHM-6
comparing NPE-3 and NPW-6
comparing NPE-3 and 0305
comparing NPE-3 and NSE-1
comparing NPE-3 and NSK-1
comparing NPE-3 and NSW-1
comparing NPE-3 and NSB-1
comparing NPE-3 and NSE-3
comparing NPE-3 and NSC-3
comparing NPE-3 and NSK-3
comparing NPE-3 and NSM-1
comparing NPE-3 and NSW-3
comparing NPE-3 and NSD-3
comparing NPE-3 and NSB-3
Found model
Found model
Getting SMS Status...
Getting SMS Folder Status...
Message sent: 0x14 / 0x0007
00 01 00 6b 20 0f 01                            |    k            
[Received Ack of type 14, seq:  3]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x002e
01 25 00 6c 00 14 00 01 00 02 00 03 00 04 00 05 |  % l            
00 06 00 07 00 08 00 09 00 0a 00 0b 00 0c 00 0d |                 
00 0e 00 0f 00 10 00 11 00 12 00 13 00 14       |                 
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 20
Message: IDs of Entries : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 
Message sent: 0x14 / 0x0005
00 01 00 36 64                                  |    6d           
[Received Ack of type 14, seq:  4]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x0013
01 25 00 37 05 01 00 00 00 0c 00 10 00 00 00 02 |  % 7            
00 01 00                                        |                 
Received message type 14
SMS Status received
Getting SMS (validating)...
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 7a 00 00                               |    z            
[Received Ack of type 14, seq:  5]
[Sending Ack of type 14, seq: 0]
Message received: 0x14 / 0x0052
01 25 00 7b 05 08 00 45 00 69 00 6e 00 67 00 61 |  % {   E i n g a
00 6e 00 67 00 00 10 00 41 00 75 00 73 00 67 00 |  n g    A u s g 
61 00 6e 00 67 00 00 18 00 41 00 72 00 63 00 68 | a n g    A r c h
00 69 00 76 00 00 20 00 56 00 6f 00 72 00 6c 00 |  i v    V o r l 
61 00 67 00 65 00 6e 00 00 29 00 46 00 75 00 6e | a g e n  ) F u n
00 00                                           |                 
Received message type 14
Message: 5 SMS Folders received:
Folder Index: 8   Folder name: Eingang
Folder Index: 16   Folder name: Ausgang
Folder Index: 24   Folder name: Archiv
Folder Index: 32   Folder name: Vorlagen
Folder Index: 41   Folder name: Fun
Getting SMS (validating)...
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 7a 00 00                               |    z            
[Received Ack of type 14, seq:  6]
[Sending Ack of type 14, seq: 1]
Message received: 0x14 / 0x0052
01 25 00 7b 05 08 00 45 00 69 00 6e 00 67 00 61 |  % {   E i n g a
00 6e 00 67 00 00 10 00 41 00 75 00 73 00 67 00 |  n g    A u s g 
61 00 6e 00 67 00 00 18 00 41 00 72 00 63 00 68 | a n g    A r c h
00 69 00 76 00 00 20 00 56 00 6f 00 72 00 6c 00 |  i v    V o r l 
61 00 67 00 65 00 6e 00 00 29 00 46 00 75 00 6e | a g e n  ) F u n
00 00                                           |                 
Received message type 14
Message: 5 SMS Folders received:
Folder Index: 8   Folder name: Eingang
Folder Index: 16   Folder name: Ausgang
Folder Index: 24   Folder name: Archiv
Folder Index: 32   Folder name: Vorlagen
Folder Index: 41   Folder name: Fun
^C
serial_close_all() executed





reply via email to

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