Other Parts Discussed in Thread: CC2640
Tool/software: Code Composer Studio
SDK --> simplelink_cc2640r2_sdk_4_10_00_10
I am working on "Simple peripheral" project.
BLEstack -> Simple peripheral
-----------------------------------------------------------------------
Hi,
I have ANCS with the simple_peripheral example code.
Below is the configuration which I am using in our project:
pairing is true
bonding is true
.
Scenario 1: BLE + iPhone(no external app involved)
When the first time the connection is established and also pairing and notification allow pop-up is allowed and connection made successfully.
When we are trying to re-connect the BLE and ios device again, then the connection is established successfully.
We tried this above re-connection step and we are facing no issue.
.
.
Scenario 2: BLE + iPhone + external APP(custom made)
When the first time the connection is established and also pairing and notification allow pop-up is allowed and connection made successfully.
When we are trying to re-connect the BLE and with APP again, then the disconnection is happening (Seen in sniffer log:- receiving terminate link from mobile) and the connection is made b/w the phone and BLE. Once the connection is made b/w BLE and iPhone then the app is not able to connect.
Could you please help us out with this show stopper issue.
.
But when we are not using the APP and only phone Bluetooth then the termination is not happening.
.
Below is the sniffer log for the issue:
disconnect issue - no terminate link.psd
.
LOG ANALYSIS:
Below is the image from the log and here no terminate link is seen on the logs.
And also we are getting ACK STATUS as RETRY till the BLE is switching to advertising again.
.
.
Regards,
Saurav