Re: Understanding connecting to BLE keyboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Sep 15, 2015 at 6:32 AM, Elliot Saba <staticfloat@xxxxxxxxx> wrote:
> Hello all, thank you for your responses so far.
>
> First off, I had not tried entering the PIN, because nothing had
> prompted me to do so.  I have intermittently managed to get a PIN
> prompt to show up in bluetoothctl now that I am using "agent
> KeyboardDisplay" instead of "agent KeyboardOnly", thanks to Szymon's
> advice.  However, although it now sometimes prompts me for a PIN code,
> other times it doesn't, and I still get "authentication canceled"
> errors extremely quickly (less than a second) after attempting to
> pair.  Here is an example session, with both bluetoothctl and btmon
> output: https://gist.github.com/staticfloat/bbc016376ba5a8ab4451
>
> Secondly, what manual do you refer to?  I am having a difficult time
> finding bluez documentation, so if there is a bluez manual somewhere,
> I'd love to read it.  If you refer to the manual for my keyboard,
> sadly its manual says nothing about Linux.  I can pair it on other
> operating systems such as OSX without difficulty (and yes, it requires
> entry of a PIN) so I am confident I know the proper method to pair it
> with a device.


Looks like the remote it disconnecting very early:

> HCI Event: Disconnect Complete (0x05) plen 4                 [hci0] 30.737028
        Status: Success (0x00)
        Handle: 64
        Reason: Connection Failed to be Established (0x3e)

Btw, make sure it is not connecting to any other system since it start
advertising perhaps you have to remove any existing link key from
other system you have been testing, also you said sometimes it does
prompt a pin code but by the logs this was not one of these.



-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux