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.

cc26x2_sdk_2_10_00_44中BLE如何设置scan window和scan interval

如题,cc26x2_sdk_2_10_00_44中BLE如何设置scan window和scan interval,只看到GapScan_enable可以设置duration和period

  • GAP_GetParamValue(TGAP_CONN_SCAN_INT);
    GAP_GetParamValue(TGAP_CONN_SCAN_WIND);
  • 原来2640的SDK是这样设置,2642不是这样设置
  • 换个名字而已你在gap.中可以看到

    * Possibly a new scan interval and a new scan window have started.
    */
    #define GAP_EVT_SCAN_INT_ENDED (uint32_t)BV(20)
    /// Scan window has ended.
    #define GAP_EVT_SCAN_WND_ENDED (uint32_t)BV(21)


    函数还是一样的。


    #define GAP_GetParamValue(...) (icall_directAPI(ICALL_SERVICE_CLASS_BLE, (uint32_t) IDX_GAP_GetParamValue , ##__VA_ARGS__))
x 出现错误。请重试或与管理员联系。