Added Who-Is-Router process for Notification Class recipient unknown router addresses. (#1243)

* Added Who-Is-Router-To-Network process in basic Notification Class when recipient address is missing the router MAC address.

* Added buffer_length parameter to octet string buffer decode functions

* Fixed BACnet address handling for I-Am-Router address updating the recipient list address for the next hop router.

* Changed VMAC encoding and decoding to use octet string buffer API to reduce stack RAM.
This commit is contained in:
Steve Karg
2026-02-25 09:58:38 -06:00
committed by GitHub
parent e11cd319da
commit cf4f62f7e0
14 changed files with 225 additions and 69 deletions
+5
View File
@@ -238,6 +238,11 @@ static void test_BACnetRecipient_ASCII(void)
zassert_true(status, "ascii=%s", ascii);
status = bacnet_recipient_same(&value, &test_value);
zassert_true(status, NULL);
status = bacnet_recipient_address_router_unknown(&value);
zassert_false(status, NULL);
value.type.address.mac_len = 0;
status = bacnet_recipient_address_router_unknown(&value);
zassert_true(status, NULL);
}
#if defined(CONFIG_ZTEST_NEW_API)