LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 10-18-2009, 04:38 AM   #1
feiyinziiu
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0
Red face how to deal with a programm that scan the remote bluetooth(in linux)


[Log in to get rid of this advertisement]
Hello,
I,m programming to use a bluetooth dongle to scan the remote bluetooth dongle under linux .I have no ideas about it.


I have write a test that it can connect to the fixed bluetooth address .I have get the remote bluetooth address by other tools,and use it in my programme.

However,now,I want to programm to directly detect the remote bluetooth devices whose address I don't know.


How to programm my test?

thanks !
windows_xp_2003 feiyinziiu is offline  
Tag This Post ,
Reply With Quote
Old 10-19-2009, 01:38 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,812
Thanked: 22
There is "hcitool" program which has "scan" parameter. I think you can use it to look up the names of needed functions. Of course, if you are writing an open source or non-distributed application, you can even reuse corresponding code fragments.
raskin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How window in programm can be resized by another programm. rexStart Programming 1 09-23-2008 03:47 AM
bluetooth: 'hcitool scan' problem with debian daniela Linux - Software 8 10-28-2007 02:47 AM
<bluetooth>hcitool scan failed(2.4.20-8) zkeileen Linux - Software 2 05-16-2007 05:32 AM
remote port scan web page? e1000 Linux - Networking 2 11-11-2003 10:36 AM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration