Read-only archive of the All About Symbian forum (2001–2013) · About this archive

PC/Symbian Bluetooth Socket Programming

1 replies · 4,325 views · Started 18 November 2004

Hi Everyone!

I'm currently working on my master thesis and I've hit rock bottom. I'm doing a C application using the Bluetooth stack that comes with Windows XP SP2. This application is supposed to communicate with a Symbian application on a SonyEricsson P800 also using sockets - of course.

I can get the address and name of the P800 from my PC and my send() command finishes without errors. When the Symbian application runs recv() it craches.

1. Do I need to do any service discovery when I know the addresses of the devices and only am interested in doing simple data transfer?

2. Do I have to register any services in the service database on the symbian application to get the communication to work?

3. My UUID on the PC-side is set to B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374. What is the role of this number? And do I have to match it on the Symbian apllication?

I'm very thankful for any help, my time is running out 😞
Jonas Lorenzson

Could you post your code for the destop part here? I would be interested to know how you are programming the desktop part.

Varun