Re: bluetooth connection for hid service drops connection
Re: bluetooth connection for hid service drops connection
- Subject: Re: bluetooth connection for hid service drops connection
- From: Craig Dooley <email@hidden>
- Date: Tue, 08 May 2012 11:30:07 -0700
Can you capture a packetlog using the packetlogger tool on the OS X side? I'm assuming the problem is this
> May 8 12:01:54 Macintosh-3 kernel[0]:
> [IOBluetoothHIDDriver][waitForHandshake][00-02-72-23-f0-6a] Timeout
> waiting for handshake
The OS X HID driver sends a SET_PROTOCOL(REPORT) when first connected to a device since we cannot guarantee that the device is not in BOOT mode. If the device does not respond within 10 seconds, we will drop the connection.
- Craig
On May 8, 2012, at 11:19 AM, Nathaniel Haggard <email@hidden> wrote:
> This HID service (https://github.com/hagna/generichid_nh) will pair
> and stay connected to linux, but osx drops the connection after
> matching the pin. More detail on the failed connection is here
> https://github.com/hagna/generichid_nh/blob/generichid_nh/osx_fails_to_pair.dump
> and this shows success on linux
> https://github.com/hagna/generichid_nh/blob/generichid_nh/linux_pairs.dump.
> The same application also advertises a headset service that stays
> connected after osx pairs with it.
>
> What tools could I use on the osx side to see why the connection gets
> dropped? /var/log/system.log says the following:
>
> May 8 12:01:54 Macintosh-3 kernel[0]:
> [IOBluetoothHIDDriver][waitForHandshake][00-02-72-23-f0-6a] Timeout
> waiting for handshake
> May 8 12:01:54 Macintosh-3 kernel[0]:
> [IOBluetoothHIDDriver][handleStart] final device setup failed
> May 8 12:01:54 Macintosh-3 kernel[0]:
> [IOBluetoothHIDDriver][handleStart] Failed.
> May 8 12:02:06 Macintosh-3 blued[50]: removeDevice: fooo
> May 8 12:02:06: --- last message repeated 1 time ---
> May 8 12:02:06 Macintosh-3 Bluetooth Setup Assistant[252]: 3:Pairing
> failed with 'fooo': error 0xe00002bc
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Bluetooth-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden