Git Product home page Git Product logo

Comments (2)

emgre avatar emgre commented on July 20, 2024

Some relevant extracts from IEEE 1815-2012, section 4.3:

Rule 1: DNP3 devices that are able to set their maximum transmit fragment size larger than 2048 octets shall provide the ability to limit the size (via configuration) to a maximum of 2048 octets.

Rule 3: Outstations shall be prepared to receive fragment sizes of at least 249 octets, and masters shall be prepared to receive fragment sizes of at least 2048 octets.

Rule 4: Master devices shall only send requests that fit within a single fragment. Any master that is capable of sending fragments larger than 249 octets shall be configurable to restrict the maximum fragment size of all requests to 249 octets.

^ We should at least check for command requests to split them if too big.

from dnp3.

jadamcrain avatar jadamcrain commented on July 20, 2024

I don't think automatic splitting is a desirable behavior. We can just fail the task with a write error to indicating to the user that the request is too big. I'd rather do that than get some undesirable result having sent the controls in multiple requests.

from dnp3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.