From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: LE mouse reconnect problem From: Marcel Holtmann In-Reply-To: <35F01C64-F255-433B-A07A-1AD84CA6574A@me.com> Date: Thu, 3 Jul 2014 17:41:58 +0200 Cc: Ryan Press , Johan Hedberg , Luiz Augusto von Dentz , "linux-bluetooth@vger.kernel.org" Message-Id: <9D9BAF08-F0CE-4A5A-B8E7-039DE916D93E@holtmann.org> References: <20140629051442.GA31085@t440s.P-661HNU-F1> <20140629052949.GA32130@t440s> <5A1EE16D-11BB-414E-B572-92FBF305B4E5@holtmann.org> <35F01C64-F255-433B-A07A-1AD84CA6574A@me.com> To: d.eriksson@me.com Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi David, > Somewhat hijacking this thread as we've been working on similar issues. > In the Nordic Semi HID code they by default set 5sec for the "FIRST_CONN_PARAMS_UPDATE_DELAY". As a temporary fix we just se this to 50msec to force a quicker re-connect. > > We're doing our pairing using mgmt, could there be something we do wrong on our end causing the CCCDs not being stored in our nrf51822, and/or on the linux side? try the latest bluetooth-next and bluetoothd. With the passive scanning and remembering of the connection parameters this should also be instant now. The advantage is that we start out with the correct parameters in the first place and thus the HID devices does not have to change them. Regards Marcel