GithubHelp home page GithubHelp logo

IPv6 does not work about libmbus HOT 4 CLOSED

petrkr avatar petrkr commented on August 23, 2024
IPv6 does not work

from libmbus.

Comments (4)

lategoodbye avatar lategoodbye commented on August 23, 2024 2

I'm merged pull request #213
Thanks @petrkr

from libmbus.

Apollon77 avatar Apollon77 commented on August 23, 2024 1

I would assume that the change needs to happen in https://github.com/rscada/libmbus/blob/master/mbus/mbus-tcp.c#L60-L69 and needs to get configurable or detectable. most likely another address family needs to be given.

I do not know the linux APIs enough, but should be documented. So "just" need to find time ;-)

from libmbus.

petrkr avatar petrkr commented on August 23, 2024

Well, I've rewritten part of TCP connect and it works now.

But since how much forks and similar "addons" I see. I am little-bit sad everyone just fork, do own update and not do pull request. But since there are already 15 open PR without any comment it seems to be dead project already.

But problem is if every distro will use this as source for packages, it will never be fixed.

petrkr@a6297b4

[petrkr@pkdell libmbus (ipv6 %=)]$ ./bin/mbus-tcp-request-data aaaa::860d:8eff:abcd:d000 1234 10
<?xml version="1.0" encoding="ISO-8859-1"?>
<MBusData>

    <SlaveInformation>
        <Id>22100477</Id>
        <Manufacturer>ACW</Manufacturer>

from libmbus.

petrkr avatar petrkr commented on August 23, 2024

Tested again from master and it works fine. Thanks

from libmbus.

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.