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.

CC2650: What is Connection handle?

Part Number: CC2650

Hello all,

I'm new to BLE project and I see that the term "ConnectionHandle" appear in a lot of function. 

I assume that "Connection Handle" mean number of Device (in this case Phone) connected to this BLE. Could anyone help to clarified it?

Let take example  Gap_RegisterConnEventCb(application_connEvtCB, GAP_CB_REGISTER, GAP_CB_CONN_EVENT_ALL, connHandle); I want to take timestamp if event GAP_CB_ESTABLISHED occur.

When 1st Phone is connected with BLE -> "Handle" = 0

When 2nd Phone is connected with BLE -> "Handle" = 1

  • Hello,

    You are correct. The connection handle is handle used to identify a specific connection that has been made to the current project. It is essentially an identifier used to distinguish between several connected devices.

    We have many valuable resources that you may find very useful when learning BLE. Based on the screenshots you have provided, it seems you are using the CC13XX CC26XX SDK. If this is the case, then I would highly recommend referencing the SimpleLink Academy trainings. These trainings are self-guided workshops that teach you about how BLE works from the technology's perspective as well as how to create BLE projects using the SDK. The trainings provide useful academic knowledge as well as hands-on training. In the workshops, you can find code-snippets as well as instructions to implement different BLE features.

    I would recommend starting with the Bluetooth Low Energy 5 Fundamentals training and then completing the other workshops one by one. These labs assume no prior BLE knowledge and guide you every step of the way.

    Best Regards,

    Jan

  • Thank you. I will check it.