mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
Make sure that services from SystemBroadcast are also available from Broadcast on closed media
This commit is contained in:
parent
9a03791d67
commit
f41d542939
@ -118,8 +118,15 @@ void ApplicationLayer::dataBroadcastIndication(HopCountType hopType, Priority pr
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
||||||
|
// Make sure we also check if it is a service normally available only on SystemBroadcast on open media
|
||||||
|
dataSystemBroadcastIndication(hopType, priority, source, apdu);
|
||||||
|
#else
|
||||||
print("Broadcast-indication: unhandled APDU-Type: ");
|
print("Broadcast-indication: unhandled APDU-Type: ");
|
||||||
println(apdu.type());
|
println(apdu.type());
|
||||||
|
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -159,8 +166,15 @@ void ApplicationLayer::dataBroadcastConfirm(AckType ack, HopCountType hopType, P
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
||||||
|
// Make sure we also check if it is a service normally available only on SystemBroadcast on open media
|
||||||
|
dataSystemBroadcastConfirm(hopType, priority, apdu, status);
|
||||||
|
#else
|
||||||
print("Broadcast-confirm: unhandled APDU-Type: ");
|
print("Broadcast-confirm: unhandled APDU-Type: ");
|
||||||
println(apdu.type());
|
println(apdu.type());
|
||||||
|
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -198,7 +212,11 @@ void ApplicationLayer::dataSystemBroadcastIndication(HopCountType hopType, Prior
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
||||||
|
print("Broadcast-indication: unhandled APDU-Type: ");
|
||||||
|
#else
|
||||||
print("SystemBroadcast-indication: unhandled APDU-Type: ");
|
print("SystemBroadcast-indication: unhandled APDU-Type: ");
|
||||||
|
#endif
|
||||||
println(apdu.type());
|
println(apdu.type());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -238,7 +256,11 @@ void ApplicationLayer::dataSystemBroadcastConfirm(HopCountType hopType, Priority
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
#if (MEDIUM_TYPE == 5)||(MEDIUM_TYPE == 0)
|
||||||
|
print("Broadcast-confirm: unhandled APDU-Type: ");
|
||||||
|
#else
|
||||||
print("SystemBroadcast-confirm: unhandled APDU-Type: ");
|
print("SystemBroadcast-confirm: unhandled APDU-Type: ");
|
||||||
|
#endif
|
||||||
println(apdu.type());
|
println(apdu.type());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user