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: Multi Role Connection Handle

Part Number: CC2650


I am working on Multi Role project, and using the multi.c and multi.h profiles available at github website. I would like to read the parameter 'GAPROLE_CONNHANDLE', I looked in the 'GAPRole_GetParameter' function but there is no case defined for 'GAPROLE_CONNHANDLE'. Please inform me which function should I use to get the connction handle. 

I am using ble_cc26xx_2_01_01_44627 stack.

Thanks,

Gourang

  • Hi Gourang,

    Why do you want to read the connection handle value?

    In multi_role, the connection handles are taken care of by the connHandleMap. It is saved in GAP_LINK_ESTABLISHED_EVENT:

            //store connection handle
            connHandle = pEvent->linkCmpl.connectionHandle;
            //add index-to-connHanlde mapping entry
            multi_role_addMappingEntry(connHandle);