corrected apdu encoding for error production for demo read property handler.

This commit is contained in:
skarg
2006-09-24 03:03:52 +00:00
parent 337bc5ab4e
commit f54c97a657
+1 -1
View File
@@ -314,7 +314,7 @@ void handler_read_property(uint8_t * service_request,
}
}
if (error) {
pdu_len = bacerror_encode_apdu(&Handler_Transmit_Buffer[0],
len = bacerror_encode_apdu(&Handler_Transmit_Buffer[pdu_len],
service_data->invoke_id,
SERVICE_CONFIRMED_READ_PROPERTY, error_class, error_code);
#if PRINT_ENABLED