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.
bug in api esp_ble_mesh_start_ble_scanning?
-
- Posts: 11
- Joined: Tue Feb 07, 2023 6:26 am
Re: bug in api esp_ble_mesh_start_ble_scanning?
Well no wonder - since esp_ble_mesh_start_ble_scanning is not using its argument... :/
(though I would prefer to have just an option to have this done indefinietly long)
Am I right that in order to receive BLE mesh advertising packets I need to have BLE coexistence set?
(though I would prefer to have just an option to have this done indefinietly long)
Am I right that in order to receive BLE mesh advertising packets I need to have BLE coexistence set?
Who is online
Users browsing this forum: No registered users and 72 guests