mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
docs(ble): clarify meaning of 0 value for esp_ble_gap_start_ext_scan() parameters
(cherry picked from commit ebb76933d0
)
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
@ -2730,15 +2730,17 @@ esp_err_t esp_ble_gap_periodic_adv_stop(uint8_t instance);
|
||||
esp_err_t esp_ble_gap_set_ext_scan_params(const esp_ble_ext_scan_params_t *params);
|
||||
|
||||
/**
|
||||
* @brief This function is used to enable scanning.
|
||||
* @brief Enables extended scanning.
|
||||
*
|
||||
* @param[in] duration Scan duration time, where Time = N * 10 ms. Range: 0x0001 to 0xFFFF.
|
||||
* @param[in] period Time interval from when the Controller started its last Scan Duration until it begins the subsequent Scan Duration.
|
||||
* Time = N * 1.28 sec. Range: 0x0001 to 0xFFFF.
|
||||
* @param[in] duration Scan duration in units of 10 ms.
|
||||
* - Range: 0x0001 to 0xFFFF (Time = N * 10 ms).
|
||||
* - 0x0000: Scan continuously until explicitly disabled.
|
||||
*
|
||||
* @param[in] period Time interval between the start of consecutive scan durations, in units of 1.28 seconds.
|
||||
* - Range: 0x0001 to 0xFFFF (Time = N * 1.28 sec).
|
||||
* - 0x0000: Scan continuously.
|
||||
* @return - ESP_OK : success
|
||||
* - other : failed
|
||||
*
|
||||
*/
|
||||
esp_err_t esp_ble_gap_start_ext_scan(uint32_t duration, uint16_t period);
|
||||
|
||||
|
Reference in New Issue
Block a user