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?