esp_ble_gap_start_scanning() function
This procedure keep the device scanning the peer device which advertising on the air
Arguments
duration
Keeping the scanning time, the unit is second.
Return value
- ESP_OK : success - other : failed
Examples
esp_ble_gap_start_scanning() is referenced by 9 libraries and example projects: