请问CC2640R2中的multi_role工程中如何禁止连接参数更新
Susan Yang:
您可以使用
#define DEFAULT_ENABLE_UPDATE_REQUEST FALSE
来禁止连接参数更新
user4941551:
回复 Susan Yang:
在工程中找不到那个宏定义啊,那个宏定义是在从机中使用的吧,在multi_role工程中没有啊,但是在工程中有#define GAPROLE_LINK_PARAM_UPDATE_REJECT 1
Alvin Chen:
回复 user4941551:
// GAP Role Callbacksstatic gapRolesCBs_t multi_role_gapRoleCBs ={ multi_role_eventCB, // Events to be handled by the app are passed through the GAP Role here multi_role_paramUpdateDecisionCB // Callback for application to decide whether to accept a param update};
去改第二个call back
TI中文支持网


