how to make the device be discoverable
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
-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 8 lines · On Mon, 06 Aug 2007, [email protected] 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
-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users