LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-18-2005, 09:43 AM   #1
hk_michael
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.
Michael
 
  


Reply


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


All times are GMT -5. The time now is 09:48 PM.

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