Fixed network priority reponses for test 10.1.2 (#687)

This commit is contained in:
GauiStori
2024-07-11 17:26:22 +02:00
committed by GitHub
parent 8bb93d3286
commit 2c819274af
5 changed files with 51 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void handler_read_property(uint8_t *service_request,
rpdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
/* encode the NPDU portion of the packet */
datalink_get_my_address(&my_address);
npdu_encode_npdu_data(&npdu_data, false, MESSAGE_PRIORITY_NORMAL);
npdu_encode_npdu_data(&npdu_data, false, service_data->priority);
npdu_len = npdu_encode_pdu(
&Handler_Transmit_Buffer[0], src, &my_address, &npdu_data);
if (npdu_len <= 0) {