Inquiry on HID Mouse Functionality with iOS on Nordic nRF52840 Dongle

Hi DevZone Team,

I hope this message finds you well. I am reaching out to seek your assistance regarding the HID mouse implementation we are working on using the Nordic nRF52840 dongle.

Current Status

We have successfully installed the SDK toolchain and flashed the peripheral_hid_mouse zephyr sample main.c firmware onto the Nordic nRF52840 dongle. The device is currently functioning as expected with Android devices. We have tested basic movements, and the mouse is moving and appearing correctly on the screen.

Issue with iOS

However, we are encountering significant issues when attempting to connect the dongle to iOS devices. Here are the specific challenges we are facing:

  • Bluetooth Connection: The dongle successfully establishes a Bluetooth connection with the iOS device.
  • No Mouse Pointer: Despite the connection, the mouse pointer does not appear on the iOS screen.
  • No Movement Registration: We are sending movement commands through the mouse_movement_send function, but the iOS device does not register any mouse movements.
  • No Error Messages: There are no error messages or notifications that indicate what might be wrong during the connection or operation.

Request for Assistance

Given these circumstances, we would appreciate any insights or guidance you can provide regarding potential compatibility issues or specific requirements for HID mouse implementations on iOS devices.

Additionally, if there are any specific documentation references or troubleshooting steps you recommend, it would be incredibly helpful.


Parents
  • Okay, so it seems like the Apple device is not able to pair/bond with the HIDS mouse application, most likely due to insufficient security. I checked with a colleague and HID with iOS devices is unfortunately not straight forward and the HIDS mouse sample in NCS won't work with iOS devices. 

    Best regards,

    Simon

  • Hi Simon,
    1) Any specific changes/additions I can make to sample main.c?
    2) If I want to write from scratch what else is needed to be added here for security? Because pairing, bonding and security is already enabled and I even tested after adding a random static address to try to make it work. When I try to connect with android it even sends passkey/otp to confirm pairing.
    3) Can you also please confirm that with correct security parameters the current hid report will work fine or do I need to make iOS specific changes to that as well?
    4) Please note I am using Nordic nrf52840 dongle. Can the issue be related not cleaning old flashes from firmware before writing a new one over it as there is no option to erase in dongle? Would be great if you can answer all these doubts.
    Thank you

Reply
  • Hi Simon,
    1) Any specific changes/additions I can make to sample main.c?
    2) If I want to write from scratch what else is needed to be added here for security? Because pairing, bonding and security is already enabled and I even tested after adding a random static address to try to make it work. When I try to connect with android it even sends passkey/otp to confirm pairing.
    3) Can you also please confirm that with correct security parameters the current hid report will work fine or do I need to make iOS specific changes to that as well?
    4) Please note I am using Nordic nrf52840 dongle. Can the issue be related not cleaning old flashes from firmware before writing a new one over it as there is no option to erase in dongle? Would be great if you can answer all these doubts.
    Thank you

Children
No Data
Related