最新版cc2640r2f SDK 1_40_00_45中的示例
simple_peripheral_cc2640r2lp_oad_offchip_stack\TOOLS 中的build_config.opt中,定义了
/* BLE v4.1 Features */
/* This is needed to use GATT_SERVICE_CHANGED */
-DV41_FEATURES=L2CAP_COC_CFG
但是没有定义V42_FEATURES
/* BLE v4.2 Features */
/* Note: For advanced users who choose to explicitly build their BLE */
/* Stack without ROM the following upper limit on RAM usage must be */
/* observed when using the Secure Connections Feature: */
/* R1: 0x20004F2C */
/* R2: 0x20004F80 */
/* When using linker command files provided by this SDK, the linker */
/* symbol ENCRYPTION_ROM=1 or ENCRYPTION_ROM=2 may be defined to set */
/* this upper limit for R1 and R2 devices, respectively. */
;
但是在之前的sdk_1_35_00_33\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar文件下定义了:
-DV42_FEATURES=SECURE_CONNS_CFG
却关闭了:
/* BLE v4.1 Features */
/* -DV41_FEATURES=L2CAP_COC_CFG */
这个更改具体是什么含义?
另外,我使用的工程依据sdk_1_40_00_45配置build_config.opt,测试过程中发现蓝牙4.2以上版本,通信时主机很容易断开,但是iPhone 7 也是BT4.2版本,就很稳定,什么情况这是?
如果依据1_35_00_33,或者V41/V42_features全部打开,iphone 7 连接困难,比如首次连接很容易失败,或者连接后经常断开,蓝牙4.1以下版本又正常,这又是什么情况?
以上三个问题,望解答!