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.

CC2640R2F: Porting ANCS to CC2640R2,no advisting after disconnect from iphone.urgent

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

Hi, Ti team menber

I follow ancs porting guider form ti wiki,Poring the ANCS to CC2640R2,  it‘s running ok. can recive the

information from iphone,like MissedCall,IncomingCall,Social Apps,But stress testing,there are three issues:

1)  social apps information about per 2 sencode.CC2640R2  will not recieve the information from iphone

2) Alternately turn on or off Bluetooth setting. CC2640R2 will can not bonded sucess with iphone.

3)  Alternately turn on or off Bluetooth setting. CC2640R2 will not advisting.

4) Delete the bond snv message. iphone keep the ltk information. when turn on the bluetooth setting.

    May occur many diffrent issue:1, CC2640R2 CRASH 2,CC2640R2 no advisting ever untill reset.3,keep connect with iphone,but no notify.

   Can Stack tell app  error LTK event ? the app can reject the connect request then advisting again. 

ps: i test iphone 7plus,iphone 6,iphone 6s iphone 5s.ipad mini. ios version 10.2.1 and 10.3.1

my project seting as below:


#define DEFAULT_DESIRED_MIN_CONN_INTERVAL  160

#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 240

#define DEFAULT_DESIRED_SLAVE_LATENCY 4//

#define DEFAULT_DESIRED_CONN_TIMEOUT 600 //1000

#define DEFAULT_ENABLE_UPDATE_REQUEST        GAPROLE_LINK_PARAM_UPDATE_INITIATE_BOTH_PARAMS/

uint32_t passkey = DEFAULT_PASSCODE; // passkey "000000"
uint8_t pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
uint8_t mitm = TRUE;
uint8_t ioCap = GAPBOND_IO_CAP_NO_INPUT_NO_OUTPUT;
uint8_t bonding = TRUE;