Return-Path: Subject: Re: [Bluez-users] rfcomm question 1 From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: <20050131134152.20060.qmail@web60903.mail.yahoo.com> References: <20050131134152.20060.qmail@web60903.mail.yahoo.com> Content-Type: text/plain Message-Id: <1107181340.7902.9.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 31 Jan 2005 15:22:20 +0100 Hi Michael, > Here is the content of /etc/bluetooth/hcid.conf > # > # HCI daemon configuration file. > # > # $Id: hcid.conf,v 1.7 2004/12/13 14:16:03 holtmann > Exp $ > # > > # 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 auto; > > # Pairing mode > # none - Pairing disabled > # multi - Allow pairing with already paired > devices > # once - Pair once and deny successive > attempts > pairing multi; > > # PIN helper > pin_helper /usr/bin/bluepin; > > # D-Bus PIN helper > #dbus_pin_helper; > } > > # Default settings for HCI devices > device { > # Local device name > # %d - device id > # %h - host name > #name "BlueZ (%d)"; > name "cm218-253-8-120.hkcable.com.hk:%d" > # Local device class > class 0x3e0100; > > # Default packet type > #pkt_type DH1,DM1,HV1; > > # Inquiry and Page scan > iscan enable; pscan 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; > > # Authentication and Encryption (Security Mode > 3) > #auth enable; > #encrypt enable; > } > How can I modify the Security Mode? this setting is fine. It is in security mode 1/2, but your hcidump was a little bit strange, because it looked like security mode 3 and normally mobile phones are not in that mode. > Also, how can I change the PIN of my Linux PC? For incoming connection the PIN is in /etc/bluetooth/pin and you need to restart hcid after you changed it. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users