Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement function (0x2B / 0x0E) Read Device Identification. #649

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 10, 2022

  1. Implement function (0x2B / 0x0E) Read Device Identification.

    The function is defined in section 6.21 of the Modbus Application Protocol v1.1b.
    There are many ways to read the objects. The one used here is code 01, which seems
    to be the most widely supported one.
    
    It might be necessary to make many requests in order to receive all the data. This
    is all handled internally.
    jcarrano committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    3f172d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. fixup! do not do multiple requests inside make_read_device_id_req

    Also, retrieve the internal parameters "more follows", "next object" and
    the conformity level.
    
    The value of the next object is clipped, otherwise, the users would have to be
    very careful when writing loops since a buggy device could send them into an
    infinite loop.
    jcarrano committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    0bbef09 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Configuration menu
    Copy the full SHA
    f14fd17 View commit details
    Browse the repository at this point in the history