Troubles with Bluetooth Inquiry

Login to reply to this topic.
Wed, 2003-10-01 07:20
Joined: 2003-07-25
Forum posts: 31
Hi,

This is my situation. I have a BT server running on my P800, and I have a USB dongle running on Linux.

I'm doing a project on proximity alerts. The Linux client is constantly scanning (inquiry) devices in the area, and attempts to connect to each of them. When a connection is successful, there will be some data transfer between the server and client (authentication). After that, the socket is closed. The phone will then begin an inquiry procedure to see if it's still in the proximity of the USB dongle.

The problem is, while the Linux client is doing its inquiry/connection procedures, my phone can't seem to inquiry the Linux client. ie
   hr.GetByAddress(addr,name,status);
   User::WaitForRequest(status);
and status is not KErrNone Sad

However when I cancel the Linux program, the inquiry process works fine.

Has anyone come across such a problem before?

Wed, 2003-10-01 13:21
Joined: 2003-04-11
Forum posts: 32
Troubles with Bluetooth Inquiry
I think it's not possible to find a bluetooth radio when it's scanning. At least there is that kind of restriction in current Nokia bluetooth equiped phones. I'm not sure what is the case with your dongle.

Solution could be that one radio is listening for incoming calls and one making inquiries. For that you would need two devices   Sad
Thu, 2003-10-02 03:50
Joined: 2003-06-12
Forum posts: 104
Troubles with Bluetooth Inquiry
I'm doing the similar thing.. But its done in Windows so i don't know how to do it in Linux...

In Windows, i have a bluetooth tray icon that sets up the options for bluetooth.. There you can set up the serial ports and services bluetooth uses.. There i can setup 2 serial ports that bluetooth will use... one serial port will just listen for incoming connections and then the other serial port is used two search for bluetooth celfones in range... Maybe you could do that but i don't know how to do in LInux..

"its all right, the gun isn't loaded."

  • Login to reply to this topic.