Hi all,When using our customized device (with WiFi(cc3220) + BLE(cc2640) RF coexistence) to have BLE connect to iPhone (iOS 11.x.x), it's really unstable for connection timeout unexpectedly (will receive GAP_LINK_TERMINATED_EVENT from peripheral.c).I started developing customized BLE application with simple_peripheral example project (simplelink_cc2640r2_sdk_2_20_00_49).Some info below to see if any hint for troubleshooting:(1) According to https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf to modify parameters as following // Minimum connection interval (units of 1.25ms, 80=100ms) for automatic parameter update request#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 16// Maximum connection interval (units of 1.25ms, 800=1000ms) for automatic parameter update request#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 80// Slave latency to use for automatic parameter update request#define DEFAULT_DESIRED_SLAVE_LATENCY 1// Supervision timeout value (units of 10ms, 1000=10s) for automatic parameter update request#define DEFAULT_DESIRED_CONN_TIMEOUT 550(2) Checked memory size (heap & task stack = 2048B), and the heapmgrMemMax doesn't exceed total heap size & stack size seems not overflowed after timeout occurred.(3) Using LiteBlue app to scan and connect to DUT, the timeout still occurred no matter the RSSI range from -1x to -9x(4) CACHE_AS_RAM is enabled.(5) The customized image is also tried on CC2640R2F LunchPad , and it still gets timeout unexpectedly after two hours (better than our DUT from 1 min to 30 mins).(6) The sniffer log by FrontLine:Capture-2019-04-10_1507_fail-1.zip
Cheers, Marie H.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Marie H:
In reply to Jinhua Gu:
Please be sure to mark the thread as answered if your question was answered :)
In reply to Tim C:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.