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

HID get report from a mac not as expected

Hello again, This time I am trying to read HID reports using bluetooth to get the state of the caps lock. I know this should be super simple and its explained in the hid keyboard peripheral example using ble_hids_outp_rep_get. I am using a mac as a test machine and the report never becomes 0x02 (caps enabled).

Sadly I am unable to test it either using nRF connect due to the following: ˇgithub.com/.../4

Can anyone confirm that this is the case and if so, assuming it works on windows, explain why mac behaves this way?

Thank you, Yiangos

Parents
  • What version of macOS did you try with? I tested with macOS version 10.12.6 here.

    According to the BLE-HID spec, the mac should have sent a Output report containing the Caps lock state, both when the state changes and when you reconnect/connect. It did some sniffer tests, but did not see any on-air packets for the CAPS-lock state being sent unfortunately.

Reply
  • What version of macOS did you try with? I tested with macOS version 10.12.6 here.

    According to the BLE-HID spec, the mac should have sent a Output report containing the Caps lock state, both when the state changes and when you reconnect/connect. It did some sniffer tests, but did not see any on-air packets for the CAPS-lock state being sent unfortunately.

Children
No Data
Related