add CP Plus identifier for master mode in lin_identifier function

This commit is contained in:
Hendrik Groove 2025-09-14 22:05:27 +02:00
parent f022db25c4
commit 958293f686

View File

@ -76,6 +76,12 @@ void TrumaiNetBoxApp::update() {
} }
const std::array<uint8_t, 4> TrumaiNetBoxApp::lin_identifier() { const std::array<uint8_t, 4> TrumaiNetBoxApp::lin_identifier() {
// In master mode, identify as CP Plus instead of iNet Box
if (this->master_mode_) {
// CP Plus Combi identifier - act as the LIN master controller
return {0x17 /*Supplied Id*/, 0x46 /*Supplied Id*/, 0x00 /*Function Id*/, 0x04 /*CP Plus*/};
}
// Supplier Id: 0x4617 - Truma (Phone: +49 (0)89 4617-0) // Supplier Id: 0x4617 - Truma (Phone: +49 (0)89 4617-0)
// Unknown: // Unknown:
// 17.46.01.03 - old Combi model // 17.46.01.03 - old Combi model