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.

Pairing Question

Other Parts Discussed in Thread: CC2541

Hello,

I'm using the HidAdvRemote example on cc2541. I'm using HM10 module. As expected, it asks me to enter a passcode on the HM10. I want to change this type of pairing method to a simple PIN entry on PC method. I have looked through the code but haven't found any. Moreover, HidEmuKbd example does not ask for a passcode. I also want to add such a PIN entry authentication for that example too.

Thanks.

  • Hello,

    Please see the "5.3 Gap Bond Manager (GAPBondMgr)" section of the BLE 1.4.1 SW Developer's Guide.

    Note that PIN entry requires that one side have a display (LCD) and the other has a keyboard, which is not on the HidEmuKbd. So, it must use JustWorks. You could change the SW settings to tell the stack that it does have a display, but you would need to hard-code the PIN as is done for the SBP example.

    Best wishes