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

HID Android/Iphone

Hi, I have implemented a firmware that allows to bonding and connecting whit android and iOs; I have added the HID service and characteristics, if I press a button I can send a parameter 0xE9(with this parameter I should increment the volume in the android device) at the characteristic 2A4D, but the device volume doesn't increment... 1: I must send another parameter to another characteristic? 2: iOs HID parameters, are equals to Android parameters? Thanks Best regardes!

Parents Reply
  • Hi letter57,

    Yes, I tested with the example. But I didn't test to turn it off and on on the first connection ( I disabled bluetooth on the phone instead). And yes, another bug :P , m_bonded_peer_handle should be updated when DM_EVT_SECURITY_SETUP_COMPLETE in device_manager_evt_handler(). I also updated the DISCONNECTED event so that it will not disable the button and advertise after disconnected. I attached the updated version in the answer.

Children
No Data
Related