minible icon indicating copy to clipboard operation
minible copied to clipboard

Unable to "type" via BLE on first connection to MacOS

Open kevin-sinclair opened this issue 5 years ago • 5 comments

------------------------ BUG REPORT -----------------------------------------

Expected behavior

After having disconnected the Mooltipass BLE from USB and deleted all pairings, you successfully pair the device with a Mac and you can start "typing" passwords over BLE.

Actual behavior

After having disconnected the Mooltipass BLE from USB and deleted all pairings, you successfully pair the device with a Mac and you are unable to "type" passwords over BLE. Switching Bluetooth off and then on from the device, reconnects it with the Mac and the "typing" of password is now possible.

Step by step guide to reproduce the problem

  1. Mooltipass is disconnected from USB and Pairings have been cleared from the "Delete Pairings" menu;
  2. Pair successfully Mooltipass BLE with MacOS (Mojave);
  3. Open a blank text file
  4. "Type" a username/password via the Mooltipass "Login" menu;
  5. Nothing gets "typed" into the text file.

Moolticute Version

N/A

Operating System

  • MacOS Mojave 10.14.6

Mooltipass Extension

N/A

Mooltipass Device

  • The Mooltipass Mini BLE

------------------------ END BUG REPORT -------------------------------------

kevin-sinclair avatar May 11 '20 19:05 kevin-sinclair

yeah.... that's.... something.

limpkin avatar May 11 '20 21:05 limpkin

So.... after digging through the console logs, I have noticed an abnormal behavior of MacOS when pairing for the first time a BLE device containing two HID primary services. Upon successful pairing, macOS will try to create two HID devices with the SAME keyboard report map, instead of creating two each HID devices, each with their own report maps. Upon disconnecting & reconnecting the device, the correct behavior is seen. By looking at the attached screen captures, you'll notice the behavior:

  • attempt to create two HID devices with the same report map of length 45 (see popup and window below)
  • attemps to create two HID devices, one with a report map of 45 bytes, the other with a report map of 65 bytes

Issue has been reported to Apple....

Screenshot 2020-05-17 at 19 36 09 Screenshot 2020-05-17 at 19 14 06

limpkin avatar May 17 '20 19:05 limpkin

issue remains with v0.31, experienced with apple iphone 11 ios 13.4.1

iaglet avatar May 22 '20 21:05 iaglet

the macos issue is unlikely to go away as it is an issue in MacOS itself. We're however working on the iOS issue.

limpkin avatar May 22 '20 22:05 limpkin

FYI iOS issue fixed!

limpkin avatar Jun 06 '20 22:06 limpkin