Modified the ReadProperty, ReadPropertyMultiple, and WriteProperty demo applications to check source address and invoke ID on the returning acknowledge to prevent printing responses not intended for this client.
This commit is contained in:
@@ -172,6 +172,12 @@ extern "C" {
|
||||
uint8_t * apdu,
|
||||
int apdu_len,
|
||||
BACNET_READ_ACCESS_DATA * read_access_data);
|
||||
/* print the RP Ack data to stdout */
|
||||
void rp_ack_print_data(
|
||||
BACNET_READ_PROPERTY_DATA * data);
|
||||
/* print the RPM Ack data to stdout */
|
||||
void rpm_ack_print_data(
|
||||
BACNET_READ_ACCESS_DATA * rpm_data);
|
||||
|
||||
/* Encodes the property APDU and returns the length,
|
||||
or sets the error, and returns -1 */
|
||||
|
||||
Reference in New Issue
Block a user