Add support for Mopeka standard check alternate ID (#10907)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Nathan BernardandJ. Nick Koston authored and GitHub committed 2025-11-03 15:17:28 +00:00
1 parent 1ec1692c77
commit f05f45af74
2 files changed
+2 -1

No files matched your search

@@ -72,7 +72,7 @@ bool MopekaStdCheck::parse_device(const esp32_ble_tracker::ESPBTDevice &device)
const u_int8_t hardware_id = mopeka_data->data_1 & 0xCF;
if (static_cast<SensorType>(hardware_id) != STANDARD && static_cast<SensorType>(hardware_id) != XL &&
static_cast<SensorType>(hardware_id) != ETRAILER) {
static_cast<SensorType>(hardware_id) != ETRAILER && static_cast<SensorType>(hardware_id) != STANDARD_ALT) {
ESP_LOGE(TAG, "[%s] Unsupported Sensor Type (0x%X)", device.address_str().c_str(), hardware_id);
return false;
}