diff --git a/BACnetClient.cs b/BACnetClient.cs index 1709c76..18dedf8 100644 --- a/BACnetClient.cs +++ b/BACnetClient.cs @@ -2504,7 +2504,18 @@ public void ReadRangeResponse(BacnetAddress adr, byte invokeId, Segmentation seg }); }); } - + + public void ReadRangeResponse(BacnetAddress adr, byte invokeId, Segmentation segmentation, BacnetObjectId objectId, BacnetPropertyReference property, BacnetBitString status, uint itemCount, byte[] applicationData, BacnetReadRangeRequestTypes requestType, uint firstSequenceNo) + { + HandleSegmentationResponse(adr, invokeId, segmentation, o => + { + SendComplexAck(adr, invokeId, segmentation, BacnetConfirmedServices.SERVICE_CONFIRMED_READ_RANGE, b => + { + Services.EncodeReadRangeAcknowledge(b, objectId, property.propertyIdentifier, property.propertyArrayIndex, status , itemCount, applicationData, requestType, firstSequenceNo); + }); + }); + } + public void ReadFileResponse(BacnetAddress adr, byte invokeId, Segmentation segmentation, int position, uint count, bool endOfFile, byte[] fileBuffer) { HandleSegmentationResponse(adr, invokeId, segmentation, o =>