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:
skarg
2010-06-15 14:58:27 +00:00
parent 70381c8b84
commit 987e28d515
6 changed files with 205 additions and 90 deletions
+6
View File
@@ -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 */