* [Bluez-users] how to make the device be discoverable
@ 2007-08-06 7:42 leiyu
2007-08-06 7:57 ` Thomas Kear
0 siblings, 1 reply; 2+ messages in thread
From: leiyu @ 2007-08-06 7:42 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
Dear All,
I use bluez in embedded linux, it can use "hcitool scan" command to search for other bluetooth device , how to make it be discoverable so that other device can discover it? Thanks!
Best regards,
Leiyu
[-- Attachment #2: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] how to make the device be discoverable
2007-08-06 7:42 [Bluez-users] how to make the device be discoverable leiyu
@ 2007-08-06 7:57 ` Thomas Kear
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kear @ 2007-08-06 7:57 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 637 bytes --]
On Mon, 06 Aug 2007, leiyu@kcoe.cn wrote:
> Dear All,
>
> I use bluez in embedded linux, it can use "hcitool scan" command to search
> for other bluetooth device , how to make it be discoverable so that other
> device can discover it? Thanks!
>
> Best regards,
> Leiyu
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0
org.bluez.Adapter.SetMode string:discoverable
More or less.
add
discovto 0;
to the 'device' section of hcid.conf to make it permanent, or a non-zero value
to set a time before the device becomes hidden again (i think in minutes, but
not sure)
Thomas
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-06 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 7:42 [Bluez-users] how to make the device be discoverable leiyu
2007-08-06 7:57 ` Thomas Kear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox