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.
您好,
您可以查看 Simple Link Academy 处理广告和扫描的基础实验中 Task 3 中描述了 GapScan_enable 函数的正确用法:
// === SOLUTION [Scan indefinitely] ===
//Scan period. Ignored if duration is zero. 1.28 sec unit
uint16_t scanPeriod = 4; // 4 * 1.28 s = 5.12 s.
GapScan_enable(scanPeriod, DEFAULT_SCAN_DURATION, 0);
// ==== END SOLUTION ====