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.

Connecting Dongle as peer device to HIDApp

Other Parts Discussed in Thread: CC2640, CC2540

I have put the HIDEmuKbd exp for the CC2640 on the SensorTag where I leave only 2 buttons and make a new map for it.

Now I want to example how it work. I have also CC2540 DOngle and CC Debugger:

The questions are as follow:

1. If I want to use the Dongle as a peer device and make the advertising and also see all the traffic between them- What FW shell I put over the CC2540 Dongle, and which PC software will allow me to take in charge over the HIDApp (scan, notification enable ect) ad also see what the HIDApp send?

2. Where can I find the FW and the PC application in TI sit for doing so?

3. Is there a good user guide for the HIDEmuKbd application so I can know which handle is the notification and the battery service (Table show all the characteristic of the App),so I can allow those services from the PC application?

Thanks Bar.

  • Hello,

    The dongle functions as a Central device, thus is does not advertise. To confirm your setup is working on the modified SensorTag, can you successfully pair with an iOS or Android device, then observe the buttons functioning as Right/Left key inputs?

    You can refer to the Report Map in the HIDEmuKbd project, this is what will be sent to the Report Host.

    Best wishes
  • Thanks.

    But still can't solve the problem.

    1. I don't have any iOS or Android application taht can roll the HID App. I want to use the BTool as the master. FOr taht i connect the CC2540 Dongel with sniffer hex.  Is it possible to work like that or I need a diffrent hex file to load on the DOngel to work with the BTool?

    Now when the Dongel connect to the BTool I get this message 

    GAP Device Initialization Timeout
    Device May Not Function Properly 

    See attach screen shot. Does the error refer to the dongle taht it can't see or he don't see any BLE pripherial on the area?

    Tnahks

    Bar.

    BTool_error.docx

  • Hi,
    You cannot use sniffer firmware. Please flash the CC2540_USBdongle_HostTestRelease_All hex file located in Accessories\HexFiles folder in the default SDK install directory.

    Best Regards
    Joakim
  • O.K. I will check it.
    THK.
    Bar.
  • Do you mean

    CC2540_SmartRF_HostTestRelease_All.hex?

    This is the colsest I found in the Accessories\HexFiles folder.

    Bar. 

  • Hi,

    No, that one onlt works on a setup with SmartRF05+CC2540EM. The USB version should be there, although I have attached it in this thread as well.

    Best Regards

    Joakim

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/CC2540_5F00_USBdongle_5F00_HostTestRelease_5F00_All.hex