This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HID Mouse test app for iOS?

Am building a HID Mouse device, starting with the nRF52-DK as hardware target and the BLE peripheral HID mouse sample app. Builds, loads and runs, apparently fine (i.e., can see target advertising with LightBlue app on an iPhone 6S Plus running iOS 10, can connect and see PnP value). However, neither lightBlue, nRF Connect nor nRF Toolbox iOS apps know about the HID protocol.

Found an old (2015) thread here with some useful guidance: devzone.nordicsemi.com/.../

Does anyone know of an iOS diagnostic app for HID (esp. mouse)?

  • OK, have found further info on this issue. According to comments on the Apple Developer Forum by an Apple employee, iOS traps HID events (over GATT in BLE connections) and handles them itself, i.e., they are not visible to an IOS app using either the Core Bluetooth or other iOS SDKs. See for example: forums.developer.apple.com/.../202826 So using an iOS device as central, to debug HID Mouse traffic from a BLE peripheral looks like a lost cause. Will close this question and resubmit as a query for a non-iOS app.

  • As noted in my comment immediately above, it's currently not possible to write an app on iOS 10 that can directly interact with HID events. Haven't checked if iOS 11 (just released) is different, but suspect not.

    Therefore, will be seeking other alternatives, e.g.:

    • Free MacOS or Windows app, from a third party.
    • Writing my own HID diagnostic app, probably using an implementation based on Raspberry Pi -- Python -- bluez (Bluetooth stack) -- my app code.
Related