Re: bluetooth connection for hid service drops connection
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 <natester@gmail.com> 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.... 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/cdooley%40apple.com
This email sent to cdooley@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Craig Dooley