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.

如何设置central只扫描指定的peripheal



初始化central的时候有设置 gapCentralRoleMaxScanRes,数值越大消耗heap越多,怎么能只scan指定的peripheal呢?

GAP_DeviceInit( gapCentralRoleTaskId, GAP_PROFILE_CENTRAL,
    gapCentralRoleMaxScanRes,      // 一次扫描回应最大数目

    gapCentralRoleIRK,
    gapCentralRoleSRK,

   &gapCentralRoleSignCounter );