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

Multiple HoG services

I am using soft device S110 ver 6.0.0 with nrf51822. SDK version is 5.1.0. Reading the source of SDK, I see that it must be possible to create multiple hid services. I am having few difficulties with this. My question is, has somebody tested multiple hid services? Or, do I need to move all the hid stuff below one service?

Parents
  • Hi, yes I have managed to get two HID services to run on the device. I can see the separate HID devices with MCP. I also managed to get the both HID devices connected with Linux. I can pair with the device and connect. I am not much allowed to tell about the application in public. So, I try to explain my issues without naming industrial specifics.

    It looks like my SDK key is not enough for haveing the code for Smart Remote 2 reference design.

    Now I have 2 HID services and with the 2nd service I have strange issue: sd_ble_gatts_hvx() will end in HardFault_Handler(). 1st service is running well, the same issue does not appear with it. If I turn off the 1st service and have only 2nd service in my device, then it ends in HardFault_Handler() aswell. I have spent quite a lot of time to verify that all the parameters given to the sd_ble_gatts_hvx() are reasonable.

    At the moment my code is pretty much of fusion of nrf6310/s110/ble_app_hids_keyboard and mouse.

Reply
  • Hi, yes I have managed to get two HID services to run on the device. I can see the separate HID devices with MCP. I also managed to get the both HID devices connected with Linux. I can pair with the device and connect. I am not much allowed to tell about the application in public. So, I try to explain my issues without naming industrial specifics.

    It looks like my SDK key is not enough for haveing the code for Smart Remote 2 reference design.

    Now I have 2 HID services and with the 2nd service I have strange issue: sd_ble_gatts_hvx() will end in HardFault_Handler(). 1st service is running well, the same issue does not appear with it. If I turn off the 1st service and have only 2nd service in my device, then it ends in HardFault_Handler() aswell. I have spent quite a lot of time to verify that all the parameters given to the sd_ble_gatts_hvx() are reasonable.

    At the moment my code is pretty much of fusion of nrf6310/s110/ble_app_hids_keyboard and mouse.

Children
No Data
Related