Merge branch 'neutral-ble-client' into radon-eye-single-node

This commit is contained in:
J. Nick Koston
2026-08-12 16:38:37 -05:00
+3 -1
View File
@@ -199,7 +199,9 @@ void BLEClient::handle_gatt_search_cmpl_(esp_gatt_status_t status) {
bluetooth_connection::BluedroidServiceTable table;
if (!counted || service_total == 0 ||
!table.build(this->gattc_if_, this->conn_id_, service_total, this->connection_index_)) {
ESP_LOGW(TAG, "[%s] Service table is empty; treating as failed discovery", this->address_str());
// Distinguishes a failed search/count from a genuinely service-less peer.
ESP_LOGW(TAG, "[%s] Service table unavailable (status=%d, services=%u); treating as failed discovery",
this->address_str(), status, service_total);
this->disconnect();
return;
}