GithubHelp home page GithubHelp logo

iec104's Issues

Missing closing bracket in example code

Hi,

I think you're missing a } in de man-page. In line 1333 of "lib/Net/IEC104.pm" you should also close the second foreach.
I also think you have to pass the ip as a string, not as the dotted decimals.

Regards,

wimpunk.

Segmentation Fault in example client

I'm having trouble getting your module to run. I successfully install and tested Event:Lib using their examples.
Here is what happens when I try your examples:
The server examples sits there and waits, when I run the example client, I get a segmentation fault:

$ perl -d:Trace test_client.pl >trace 2>&1
Segmentation fault
$ tail trace 
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:138:     return join( ",", map { sprintf "%02X", $_ } unpack( "C*", shift ) );
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:113:     my $d = shift;
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:114:     if ( $debug >= $d ) {
>> /usr/local/lib/perl/5.18.1/Net/IEC104.pm:468:         if ( $s->{t3_timer}->pending ) {

Let me know if you need more information.

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.