Skip to content

Conversation

@abelino
Copy link
Contributor

@abelino abelino commented Apr 9, 2025

When a read-property request is received, the Device_Read_Property function processes two common properties: object-identifier and object-type. However, the property_list_common_encode function currently uses the default device bacnet_id, which is incorrect in routing scenarios. With this change, if the bacnet-stack is compiled with the BAC_ROUTING option, the object-identifier is omitted from the common list, allowing the downstream read-property subroutine to handle it appropriately.

@abelino abelino requested a review from amclain April 9, 2025 04:49
@abelino abelino self-assigned this Apr 9, 2025
Base automatically changed from add-command-object to main April 12, 2025 07:58
When a read-property request is received, the `Device_Read_Property`
function processes two common properties: object-identifier and
object-type. However, the `property_list_common_encode` function
currently uses the default device bacnet_id, which is incorrect in
routing scenarios. With this change, if the bacnet-stack is compiled
with the `BAC_ROUTING` option, the object-identifier is omitted from
the common list, allowing the downstream read-property subroutine to
handle it appropriately.
@abelino abelino force-pushed the fix-bad-device-object-id branch from 39a4e9b to a254f5b Compare April 12, 2025 08:02
@abelino abelino merged commit 16d0352 into main Apr 12, 2025
2 checks passed
@abelino abelino deleted the fix-bad-device-object-id branch April 12, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants