gnokii-users
[Top][All Lists]
Advanced

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

win32 & correct gnokiirc configuration


From: George Quinday
Subject: win32 & correct gnokiirc configuration
Date: Fri, 03 Oct 2003 16:15:00 -0400

Hey,

I just got the gnokii source and compiled it with MSVC 6 with no problems. Does anyone have any good win32 examples of the "_gnokiirc" file? I have the default gnokiirc in my home directory now, with the following exceptions:

-----------------------------
port = com1
model = 6160
-----------------------------
The gnokii.exe will run but error out with

"Initialization failed (14)
Telephone interface init failed:  Device not ready.
Quitting."

I'm running winXP and I have a Nokia 5160i. I am using a very generic RS-232 data cable. Not sure whether cable is DAU-9P or DLR3. The proprietary Nokia Phonebook Duplicator seems to work well though. Not sure what to assign the bindir variable in gnokiirc to. Examples *greatly* appreciated. Below I have attached the actual output of gnokii.exe from a command prompt:

C:\Documents and Settings\User\Desktop\gnokii\gnokii-0.5.4\win32\MSVC6\De
bug>gnokii -getsecuritycode
GNOKII Version 0.5.4
Opened configuration file C:\Documents and Settings\User\_gnokiirc
Added new section global
Adding key/value port/com1
Adding key/value model/6160
Adding key/value initlength/default
Adding key/value connection/serial
Adding key/value bindir//usr/local/sbin/
Adding key/value use_locking/no
Adding key/value serial_baudrate/19200
Adding key/value smsc_timeout/10
Added new section connect_script
Adding key/value TELEPHONE/12345678
Added new section disconnect_script
phone instance config:
model: 6160
port_device: com1
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
Serial device: opening device com1
Serial device: setting speed to 9600
Serial device: setting RTS to high and DTR to low
Identifying...
Getting phone info...
Message sent: 0x05 / 0x00d1
00 01 00 03 00 cc cc cc 2c b6 12 00 c7 4f 02 10 |         ,    O
54 b6 12 00 20 87 41 00 3c b6 12 00 cc cc cc cc | T     A <
d8 fe 12 00 96 49 02 10 54 b6 12 00 20 87 41 00 |      I  T     A
a8 44 f9 77 00 ff 12 00 00 00 00 00 00 00 00 00 |  D w
c0 14 42 00 cc cc cc cc 00 00 00 00 00 00 00 00 |   B
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00                                              |
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to low
Initialization failed (14)
Telephone interface init failed: Device not ready.
Quitting.
Serial device: closing device

_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now FREE! http://msnmessenger-download.com





reply via email to

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