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

Answering and rejecting calls with HID telephony usage page

Hi all,

I want to use the nrf51dk to answer and reject phone calls. One button on the kit would be used to accept calls and another to reject or finish them. The audio should stay on the phone, I just want to use the kit as a kind of extension for the respective buttons of the smartphone.

I'm using HOGP and I have seen that it is possible to use HID usage page 0x0C (consumer page) and usage 0xCD (play/pause) to accept or reject calls. However, I would like to know if it is possible to use telephony usage page to achieve this. I haven't found enough material on the internet about it. Do you guys have any example of HID telephony report map that works well for a case like this? Does Android and iOS support it?

Thanks in advance

Parents
  • Thanks for your comment! I would really appreciate if you can do that. I'll search more about ANCS but maybe as I want to support both platforms (Android and iOS) HID should be better. My biggest problem is how to properly set a custom report map from the scratch, I'm a beginner in this subject and I found the official USB documents about this a bit hard to understand, gotta take time to study them well. However, it is good to hear that it should be able to implement this goal using HID, at least I know I'm in the right direction :) Once again, thanks for your help.

Reply
  • Thanks for your comment! I would really appreciate if you can do that. I'll search more about ANCS but maybe as I want to support both platforms (Android and iOS) HID should be better. My biggest problem is how to properly set a custom report map from the scratch, I'm a beginner in this subject and I found the official USB documents about this a bit hard to understand, gotta take time to study them well. However, it is good to hear that it should be able to implement this goal using HID, at least I know I'm in the right direction :) Once again, thanks for your help.

Children
No Data
Related