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: Timeout for GAP_LINK_ESTABLISHED_EVENT

Part Number: CC2650

I'm using the following setting to setup the connections times.

#define DEFAULT_CONN_INT 48 // 30 msec
#define DEFAULT_CONN_TIMEOUT 50 // 500 msec
#define DEFAULT_CONN_LATENCY 0

GAP_SetParamValue(TGAP_CONN_EST_INT_MIN, DEFAULT_CONN_INT);
GAP_SetParamValue(TGAP_CONN_EST_INT_MAX, DEFAULT_CONN_INT);
GAP_SetParamValue(TGAP_CONN_EST_SUPERV_TIMEOUT, DEFAULT_CONN_TIMEOUT);
GAP_SetParamValue(TGAP_CONN_EST_LATENCY, DEFAULT_CONN_LATENCY);

After initiating (the target device is turned off)

GAPRole_EstablishLink(DEFAULT_LINK_HIGH_DUTY_CYCLE, DEFAULT_LINK_WHITE_LIST, addrType, conn_addr);

I should be entering GAP_LINK_ESTABLISHED_EVENT after 50msec.  It looks like the Establish Link Request is never complete with the intervals I setup.

Are there other parameters that is preventing this to complete.  Like the Scan parameters?

  • Hello,

    There is no timeout for GAP_EstablishLinkReq; you will need to use a timer and cancel the request in your application if a connection is not established. The TGAP parameters referenced above apply to an active connection.

    Best wishes