Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2005, 09:43 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
Bluetooth sdp and socket programming

Hi all!
I'm facing a very big problem in my project. In the past, I initialized the connection from PC to T610 thorugh bluetooth rfcomm layer, and it successed. But then when I changed the approach from T610 (or even other mobile device) to PC (actually, this requirement is from my supervisor), I can't see any result. Then I asked my tutor and the user in BlueZ's email list, and they told me to do about sdp programming and then learn about socket programming. But I don't know how to do it. So, I wish to ask 2 quiestions here.
1.Is there any reference for me to write bluetooth socket programming, and how can I do for sdp i.e. how to use the sdptool.c in my main program so that the main program can let the bluetooth mobile device to connect to PC?
2.The other thing is that now, my PC should act as server. Some people in this forum taught me one thing to do: make an infinite while loop. But then I have to consider one thing. I assume that the mobile phone accesses program first, and then the phone uses the program for a while. Then my PDA wish to access it. But the key point is the access of PDA must not affect what mobile is doing, and on the other hand, what PDA does must not affect the mobile phone. So, how can I do in the infinite while loop? Thank you very much for your kindness.


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Programming jawadhashmi Programming 4 05-24-2005 04:04 AM
Help me ... about Socket programming.. rajsun Programming 2 04-24-2005 05:50 PM
Socket Programming Chaitanyayardi Programming 6 10-22-2004 01:10 AM
Socket Programming perdesiz Linux - Software 2 10-06-2003 01:15 AM
socket programming herambshembekar Programming 3 04-13-2002 04:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration