bug in api esp_ble_mesh_start_ble_scanning?

qiuyonggang
Posts: 11
Joined: Tue Feb 07, 2023 6:26 am

bug in api esp_ble_mesh_start_ble_scanning?

Postby qiuyonggang » Wed May 01, 2024 3:52 am

Hi,
We developed our program used IDF5.0,we try to let ble mesh node to scan BLE advertising packets.So we followed the advice in "https://docs.espressif.com/projects/esp ... is-enabled" ,codes like this:
esp_err_t status;
if ((status = esp_ble_mesh_register_ble_callback(esp_ble_mesh_ble_cb)) != ESP_OK) {
return;
}
esp_ble_mesh_start_ble_scanning(&mesh_ble_scan_params);

These codes worked,but we found ESP_BLE_MESH_SCAN_BLE_ADVERTISING_PKT_EVT just can be recieved about every 30s.We changed mesh_ble_scan_params's duration,but it had no effect.
Our question is how to set the interval of scan?
Thanks very much.

Who is online

Users browsing this forum: No registered users and 200 guests