This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is there any way to port the HosttestRelease project to hid mode?



I just want to use the dongle as hid mode and do not need to install cdc driver.

Chris

  • Check out the HidAdvRemoteDongle project. That sounds like it might be close to what you are looking for. It's a little specific to the Advanced remote, but you can remove stuff and just get to HID keyboard for example.

    BR,

    -Greg

  • Yes,I know that project, but the hostTestRelease project does not contain the assemble process of command or event,so I do not know how to port the HCI part to HidAdvRemoteDongle.

     

    Chris

  • Sounds like you need to mix these. Not sure how you can do this easily though 

    For example.

    HID data will come in form of GATT notification. HTR would just fwd this out serial port.

    Easiest thing to do might be to add your own HCI parser or API to AdvRemoteUSBDongle. The 1.2.1 version of this wiki pulled the HCI parser up to app level, so this may be of use.  You may want to just make your own API and let the stack do all the heavy lifting - scanning, connecting and discovery.

    http://processors.wiki.ti.com/index.php/LPRF_BLE_HostTestPM

    I'm not sure about how CDC and USB-HID will work?  The good news is that all the source for this is included in the projects.

    BR,

    -Greg