Useful platform information:
Fedora Core 1 / GNOME 2.4 / Evolution 1.4
[andyp@castor evolusync-1.1]$ rpm -qa | grep bluez
bluez-libs-devel-2.5-0.rhfc1.dag
bluez-pin-0.22-2
bluez-sdp-1.5-1
bluez-libs-2.5-0.rhfc1.dag
bluez-bluefw-1.0-1.rhfc1.dag
bluez-sdp-devel-1.5-1
bluez-utils-2.4-1.rhfc1.dag
bluez-hcidump-1.5-3
bluez-pan-1.1-2
The initial result was not promising:
NB device address disguised...
[andyp@castor evolusync-1.1]$ ./evolusync -vvv -type
NOKIAOBEXBT -readDevice -bdaddr 00:X2:EE:X3:8E:XC
DEBUG evolusync.c: main(): The type is NOKIAOBEXBT
DEBUG evolusync.c: main(): The temporary directory is /tmp/
ALL obexTransfer.c: getOBEXPhoneBook(): START
Retrieving the Phone Book from the device. Be Patient...
Connecting to OBEX service of the device via
BlueTooth...DEBUG obexTransfer.c:
establishOBEXConnection(): Initializing the BlueTooth
RFCOMM Transport...
DEBUG obexTransfer.c: establishOBEXConnection():
Establishing transport to bluetooth device...
ERROR obexTransfer.c: establishOBEXConnection():
BlueTooth Transport Connect Failed
ERROR obexTransfer.c: getOBEXPhoneBook(): Failed to get
the phone book!
Then I changed the btchannel from the default of 4 to 1
and it still failed, but running again straight
afterwards got further:
[andyp@castor evolusync-1.1]$ ./evolusync -vvv -type
NOKIAOBEXBT -readDevice -bdaddr 00:X2:EE:X3:8E:XC
-btchannel 1
DEBUG evolusync.c: main(): The type is NOKIAOBEXBT
DEBUG evolusync.c: main(): The temporary directory is /tmp/
ALL obexTransfer.c: getOBEXPhoneBook(): START
Retrieving the Phone Book from the device. Be Patient...
Connecting to OBEX service of the device via
BlueTooth...DEBUG obexTransfer.c:
establishOBEXConnection(): Initializing the BlueTooth
RFCOMM Transport...
DEBUG obexTransfer.c: establishOBEXConnection():
Establishing transport to bluetooth device...
DEBUG obexTransfer.c: establishOBEXConnection():
Connect to OBEX service...
ALL obexTransfer.c: connectClient(): START
DEBUG obexTransfer.c: connectClient(): Sending CONNECT
request
ALL obexTransfer.c: handleRequest(): START
ALL obexTransfer.c: handleRequest(): END
DEBUG obexTransfer.c: handleInput(): Entering while
ERROR obexTransfer.c: handleInput(): HandleInput:
timeout waiting for data. Aborting
DEBUG obexTransfer.c: obex_event(): ABORT
DEBUG obexTransfer.c: obex_event(): LINKERR
DEBUG obexTransfer.c: obex_event(): Link broken!
ERROR obexTransfer.c: connectClient(): Obex connect
request failed!
ERROR obexTransfer.c: establishOBEXConnection(): Failed
trying to connect to the Obex serviceERROR
obexTransfer.c: getOBEXPhoneBook(): Failed to get the
phone book!
[andyp@castor evolusync-1.1]$ ./evolusync -vvv -type
NOKIAOBEXBT -readDevice -bdaddr 00:X2:EE:X3:8E:XC
-btchannel 1
DEBUG evolusync.c: main(): The type is NOKIAOBEXBT
DEBUG evolusync.c: main(): The temporary directory is /tmp/
ALL obexTransfer.c: getOBEXPhoneBook(): START
Retrieving the Phone Book from the device. Be Patient...
Connecting to OBEX service of the device via
BlueTooth...DEBUG obexTransfer.c:
establishOBEXConnection(): Initializing the BlueTooth
RFCOMM Transport...
DEBUG obexTransfer.c: establishOBEXConnection():
Establishing transport to bluetooth device...
DEBUG obexTransfer.c: establishOBEXConnection():
Connect to OBEX service...
ALL obexTransfer.c: connectClient(): START
DEBUG obexTransfer.c: connectClient(): Sending CONNECT
request
ALL obexTransfer.c: handleRequest(): START
ALL obexTransfer.c: handleRequest(): END
DEBUG obexTransfer.c: handleInput(): Entering while
DEBUG obexTransfer.c: obex_event(): REQDONE
ALL obexTransfer.c: clientDone(): START
DEBUG obexTransfer.c: clientDone(): CONNECT
ALL obexTransfer.c: connectClientDone(): START
ERROR obexTransfer.c: connectClientDone(): Connect
failed 0x00!
ALL obexTransfer.c: connectClientDone(): END
ALL obexTransfer.c: clientDone(): END
ALL obexTransfer.c: connectClient(): END
Done.
Reading the data...DEBUG obexTransfer.c:
getOBEXPhoneBook(): from telecom/pb.vcf...ALL
obexTransfer.c: getClient(): START
ALL obexTransfer.c: handleRequest(): START
ALL obexTransfer.c: handleRequest(): END
DEBUG obexTransfer.c: handleInput(): Entering while
DEBUG obexTransfer.c: obex_event(): REQDONE
ALL obexTransfer.c: clientDone(): START
DEBUG obexTransfer.c: clientDone(): GET
ALL obexTransfer.c: getClientDone(): START
ERROR obexTransfer.c: getClientDone(): GET failed 0x03!
It looks as if you are trying to get a file called
telecom/pb.vcf. This file does not exist on my Nokia
7650 (Nokia Series 60) and it uses a non-vCard format
file called Contacts.cdb. So this looks a little
complicated...
Logged In: YES
user_id=1032854
Thanks for trying.
-Bluetooth transport: that seems to work, though one of the
message in your last attempt looks strange. I will
investigate that.
-Nokia 60 series: right. evolusync supports the 40 series
for the moment (hence the telecom/pb.vcf). I will try to
evaluate the difficulty of supporting the 60 series. One of
the main difficulty is... getting a sample contacts.cbd to
play with.
If you have a file with dummy contacts in the native format
(Contacts.cbd), that would really help.
Thanks again