* [Bluez-users] Iscan turning off
@ 2007-02-19 22:01 Timur Alperovich
2007-02-19 23:38 ` Eric Estievenart
0 siblings, 1 reply; 2+ messages in thread
From: Timur Alperovich @ 2007-02-19 22:01 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 1914 bytes --]
Hi,
I'm using bluez utils 3.7 and I try to put the bluetooth card in my laptop
in piscan mode. The operation succeeds, but after a relatively short period
of time (about 10 minutes), the card goes back to just pscan. The reason I'd
like to have iscan is that my laptop does not appear to be discoverable
without it. Could anyone suggest what may be the issue? I am attaching my
hcid.conf file.
Thank you,
Timur
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "Timur-blue";
# Local device class
class 0x3e0100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
pscan enable; iscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
[-- Attachment #1.2: Type: text/html, Size: 3764 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- 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] Iscan turning off
2007-02-19 22:01 [Bluez-users] Iscan turning off Timur Alperovich
@ 2007-02-19 23:38 ` Eric Estievenart
0 siblings, 0 replies; 2+ messages in thread
From: Eric Estievenart @ 2007-02-19 23:38 UTC (permalink / raw)
To: timur.alperovich; +Cc: BlueZ users
Timur Alperovich wrote:
> Hi,
>
> I'm using bluez utils 3.7 and I try to put the bluetooth card in my
> laptop in piscan mode. The operation succeeds, but after a relatively
> short period of time (about 10 minutes), the card goes back to just
> pscan. The reason I'd like to have iscan is that my laptop does not
> appear to be discoverable without it. Could anyone suggest what may be
> the issue? I am attaching my hcid.conf file.
in device {} section, add:
discovto 0;
This set the iscan timeout to 0 otherwise hcid will
put back the device in non-discoverable mode after
some time (for security reasons).
people, isn't there an FAQ for that (other than /faq.html) ?
Cheers.
--
Eric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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-02-19 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 22:01 [Bluez-users] Iscan turning off Timur Alperovich
2007-02-19 23:38 ` Eric Estievenart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox