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.

  • Resolved

CC2564MODA: Pairing process between HID Controller and BT stack

Prodigy 160 points

Replies: 4

Views: 83

Part Number: CC2564MODA

We are working with bluetopia v4.0.2.2. We want to pair a HIDController/keybaord with the BT stack.

What we do:

1. changing the stack to HIDHostMode

2. call Inquiry

3. pairing the listed device

The result is:

HID Device>
atAuthenticationStatus: 4 Board: 0x5CBA370E174E

We get not always the same result. Sometimes status 14 and sometimes success but then it is not clear how to respond to a device which has no pincode.

We can not find any example or document which cleary explains the complete process and especially the process of attaching for example a keyboard or a device which has no pincode.

Thanks for help.

  • Manfred,

    What device are you using as the Host MCU? If you are using MSP430, we have a SDK that has a HID Demo that you could reference. Please find it here: http://www.ti.com/tool/CC256XMSPBTBLESW

    BR,

    Vince 

  • In reply to Vincent Rodriguez:

    Did you read what I wrote?

    >> . changing the stack to HIDHostMode

    If you think about that then you will see that this is from the HIDDemo.

    Partially we solved the problem. The first thing was that we used an old version from Bluetopia (4.0) and now we using 4.2.1.0.

    The problem is now that not all HID devices are listed, if we use Inquiry  with GAP_Perform_Inquiry.

    One problem with this library is that we didnt have the source code of bluetopia. With the source it would be much easier to find problems and have a clearer understanding of what is going behind the wall (library).

    One question from this point is: Is the GAP_Perform_Inquiry call necessary or if we have the BD_ADDR is it possible to connect to our bt device without that function and only with GAP_Initiate_Bonding?

    By the way we use the library with samg55 from microchip.

    BR

    Manfred

  • In reply to Manuska:

    Manfred,

    If you looking inside the HIDDemo.c,you can use the GAP_Initiate_Bonding() to bond to a specific BD_ADDR. More info on the function call is available in the GAPAPI.h

    BR,

    Vince 

  • In reply to Vincent Rodriguez:

    In this thread there is no way to solve the problem. I have opened a new thread with a more specific question.

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.