bip: decouple broadcast destination port from bind port (#1311)

Co-authored-by: Leunar Kalludra <Leunar.Kalludra@de.bosch.com>
This commit is contained in:
Leunar Kalludra
2026-04-24 13:40:32 +02:00
committed by GitHub
parent 8607b241e9
commit f616a8cc68
22 changed files with 469 additions and 17 deletions
+10
View File
@@ -80,6 +80,11 @@ void bip_set_port(uint16_t port)
ztest_check_expected_value(port);
}
void bip_set_broadcast_port(uint16_t port)
{
ztest_check_expected_value(port);
}
bool bip_port_changed(void)
{
return ztest_get_return_value();
@@ -90,6 +95,11 @@ uint16_t bip_get_port(void)
return ztest_get_return_value();
}
uint16_t bip_get_broadcast_port(void)
{
return ztest_get_return_value();
}
bool bip_set_addr(const BACNET_IP_ADDRESS *addr)
{
ztest_check_expected_data(addr, sizeof(BACNET_IP_ADDRESS));