Suppress logging unhandled ESP_BLE_AD_TYPE_INT_RANGE (#4096)

This commit is contained in:
J. Nick Koston 2022-11-27 14:31:13 -10:00 committed by GitHub
parent ed42cefeee
commit fb56b5388e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -777,6 +777,9 @@ void ESPBTDevice::parse_adv_(const esp_ble_gap_cb_param_t::ble_scan_result_evt_p
this->service_datas_.push_back(data); this->service_datas_.push_back(data);
break; break;
} }
case ESP_BLE_AD_TYPE_INT_RANGE:
// Avoid logging this as it's very verbose
break;
default: { default: {
ESP_LOGV(TAG, "Unhandled type: advType: 0x%02x", record_type); ESP_LOGV(TAG, "Unhandled type: advType: 0x%02x", record_type);
break; break;