You Are Here:

Community: Developer Discussion Boards

#1 Old Getting phonebook etc from Nokia 7650 - 2003-05-15, 22:54

Join Date: Mar 2003
Posts: 27
hamishm
Offline
Registered User
I'd like to pull the ponebook, calendar etc from my 7650 over bluetooth... Using Linux (Laptop x86 but ultimately I want my Linux handheld to be able to sync it as well) as the OS. I have the affix BT stack (Originally developed by Nokia, and supported by some Nokia people). I have a couple of problems..

1. The 7650 won't hold a serial connection open to the SPP profile... It can be connected, but then the phone just closes the connection straight away... URRR!!! How are you supposed to get the phone to keep the SPP connection open?

2. If I use the DUN (Dialup) profile, it WILL stay open. However the 7650 doesn't appear to support the documented AT commands for Nokia phones to get the phonebook. I just get ERROR back from the phonebook commands (But I can get the signal & battery levels, so I know SOME of the things work...


SO how do I get the phonebook? I can't find any docs that actually say what should be the actual method if you don;t use the Windoze SDK...
Reply With Quote

#2 Old 2003-05-16, 10:26

Join Date: Apr 2003
Posts: 19
matteo.giacomazzi
Offline
Registered User
Hi,

is there a Windows SDK that allows me to use the SER profile?

Can't I simply open the virtual Serial port and read/write commands?

It should, as well it should work with Linux too...
Reply With Quote

#3 Old 2003-05-16, 13:51

Join Date: Mar 2003
Posts: 27
hamishm
Offline
Registered User
What point would a windoze SDK do me? It's going to be a binary librray isn't it? Unless someone else knows better.

Besides that the Nokia 7650 SPP BT profile appears to be severely broken. WHile you can make a connection to it, the connection will not stay open. The phone just closes it back down again. The DUN profile stays open fine, but the DOCUMENTED procedures for getting the phonebook don't work

Thanks Nokia... I think my next phone will be a P800... Or it's successor. This will probably be my last Nokia phone. This one is just too much hard work & the level of actual information out there is somewhere below the noise threshold...
Reply With Quote

#4 Old 2003-05-16, 16:12

Join Date: Apr 2003
Posts: 19
matteo.giacomazzi
Offline
Registered User
Hey, you're right!

Following your example, I've tryied to connect to my phone using the virtual Serial port used for the Bluetooth modem.

I can retrieve messages from my SIM (from the memory of the phone..?) but commands used to retrieve the phonebook are not working at all: they always return an ERROR status!

BTW, I'm using a Nokia 3650 that should be newer than your 7650 but it seems it's working in the very same way...

What has Nokia to say about this?
Are we wrong or is a real phone problem?

The phone si not cheap at all, so we could pretend it works as documented!
Reply With Quote

#5 Old 2003-05-16, 16:31

Join Date: Mar 2003
Posts: 27
hamishm
Offline
Registered User
The 3650 and the 7650 are apparently nearly identical. You have the audio profile in the BT stack though which Nokia refuse to discuss in the same paragraph as the 7650 except to say it doesn't have it.

On the subject of the flakey serial connections I've been completely ignored by Nokia on that one. Not even a snide 'well if you used our BT card'...

What to do? Well I'd like to tie my phone to a brick and... But then how would I tell them apart? Ha ha... I kill me.. Maybe humour is best at this time..

I spent all last night re-trying evrything with 2 different BT cards (Ambicom BT2000 and a BlueMonkey card) and got nowhere... I can't even backup my contacts because even their SyncML client on the phone doesn't appear to work properly (i.e. it won't talk to anything either). It's somewhat less useful than my old 6210 at the moment because at least the 6210 has a decent battery life.
Reply With Quote

#6 Old 2003-05-16, 16:47

Join Date: Apr 2003
Posts: 19
matteo.giacomazzi
Offline
Registered User
You said that the serial connection keeps opened for a while and then suddenly disconnect.

I have the very same problem but , before it disconnects, it outputs some (strange) characters: they look like a PPP or SLIP frame, but I'm not sure about this.

Does your 7650 do this thing?
BTW, while the serial connection is opened, are you able to send AT commands and receive responses or you can do it only using the DUN profile?

I'm evaluating to buy a IrDa adapter for my PC to see if they can communicate... BTW, right now, it is not so much useful for me too: it can sync contacts only with Outlook or Windows and I use different programs...

Should I write my software in C++ just to be able to back-up contacts and (phone) messages?
Reply With Quote

#7 Old 2003-05-16, 18:19

Join Date: May 2003
Posts: 1
lgangitano
Offline
Registered User
Take a look at

http://sourceforge.net/mailarchive/f...&forum_id=1883

and add istructions from

http://mobile.linux.pt/p800/

I've tested this and have my 3650 connected with TCP/IP over BlueTooth.

Now, all I miss is a SyncML client that works over generic network access (TCP/IP) instead of GPRS/GSM only... :-( Then I could do something like

3650 -> SyncML client -> SyncML server -> Multisync -> Evolution

Anybody willing to develop an alternative SyncML client?
Reply With Quote

#8 Old 2003-05-16, 19:00

Join Date: Mar 2003
Posts: 27
hamishm
Offline
Registered User
I've never managed to get anything connected to the SPP quickly enough to see it output anything (It's about a second max)... I didn't see anything in the affix traces I took of it. I guess I could look again.

I have a laptop BTW (Thinkpad A20p) and I can't talk IR to it either. The IR on the phone-laptop connection is as flakey as well, and even when the laptop says IT can see the phone the nokia pcsuite says it can't anyway...

I'll take a look at the links Igangitano just posted... Maybe there's some clues there...

H
Reply With Quote

#9 Old 2003-05-16, 19:21

Join Date: Mar 2003
Posts: 27
hamishm
Offline
Registered User
Hmm... pppd... ISTR back when I was playing with this on my Zaurus that I tried talking pppd over the serial port then... Or did I... Anyway here's what I get from my debian laptop using affix

ballbreaker:/etc/ppp/peers# btctl connect 1 spp; pppd bty0 call n7650 debug nodetach
Connecting to host 00:02:ee:87:82:7e ...
Service found on channel 2
Connecting to channel 2 ...
Connected. Bound to line 0 [/dev/bty0].
Failed to open /dev/bty0: No such device

So it binds OK... But the phone appears to close the connection before pppd can be started enough to negotiate... Grr...

H
Reply With Quote

#10 Old 7650 and Linux - 2003-09-03, 13:09

Join Date: Jun 2003
Posts: 5
Jhurleston
Offline
Registered User
The best information that I have found on the linux/7650 problem is http://bluez.sourceforge.net.

Although the documentation is "not" for the nokia 7650, it is 95% relevant.

I have had success, with everything I wanted to do.

when you achieve the phonebook, let me know.
Reply With Quote

#11 Old 2004-05-26, 15:12

Join Date: Feb 2004
Posts: 8
jurthe
Offline
Registered User
I might be wrong, but as far as I know the SPP profile will always terminate your connection request and then will try to call you back to establish an IP connection.

At least, that's why you will get an error message when trying to establish a manual connection in a Windows enviroment for sync:

http://www.heise.de/mobil/artikel/20..._sync/02.shtml
(german)
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia