Other Parts Discussed in Thread: CC2640
Hi,
I am working for a project based on simpleBleCentral with cc2640,It would connect to 2 peripherals.
I set the connect timeout 1.5 second,It usually works well, but sometimes(about 10%),when I turn off the power of one peripheral
then turn on ,the stack(version 2.1.0) can not generate the GAP_LINK_TERMINATED_EVENT after 1.5 second,It can generate the GAP_LINK_TERMINATED_EVENT after about 60 second.that is too long,I try to started discovery,I would find the advertisement of the peripheral,but when I call the function of GAPCentralRole_EstablishLink(), it returns a value of 0x15 that means "bleNoResources (0x15): too many links",so:
1.I tried to terminate the connecton(it is actually disconnect),but no effect.
2.I want ot cancel a establish request that has been sent by calling GAPCentralRole_EstablishLink(),but the link has not been established. How do I do this ?
