Git Product home page Git Product logo

modbus_client's People

Contributors

cabbi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

modbus_client's Issues

modbus_client depends on collection ^1.17.2

First of all thanks for making this package available!

When I try to install it on a fresh Flutter app (Counter app), I get the following error message:

because every version of flutter from sdk depends on collection 1.17.1 and every version of modbus_client depends on collection ^1.17.2, flutter from sdk is incompatible with modbus_client.
So, because nfcapp_flutter depends on both flutter from sdk and modbus_client any, version solving failed.

Any ideas how to resolve this?

Thx!
Matthias

Pass byteCount in constructor

Hello, first of all thank you for your great work and this awesome library.

I am playing around and try to read address which is as follows:
Screenshot 2024-02-07 at 10 08 26
Turning the first part to decimal should be 154 for the address:

    ModbusUint16Register(
        name: "ConsumEnergyTodayInput",
        type: ModbusElementType.inputRegister,
        address: 154,
        onUpdate: (self) => print(self)),

but I am getting incorrect output. It seems that the problem lays in length of the address as it lays over 2 bytes. I tried to pass byteCount as a parameter but getting this error:
Screenshot 2024-02-07 at 9 35 48

Could you please advise how to read such address?

Thank you very much in advance.

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.