Giter Club home page Giter Club logo

izot / lon-stack-dx Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.31 MB

The EnOcean LON Stack DX enables developers to build networks of communicating devices, as part of the Industrial Internet of Things, using any processor supporting the C programming language for connected devices. The LON protocol is an open standard defined by the ISO/IEC 14908 series of standards.

Home Page: https://www.enocean.com/edge

License: MIT License

C 100.00%
iot lon stack

lon-stack-dx's People

Contributors

richblomseth avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lon-stack-dx's Issues

DecodeTxTimer wraparound with longTimer == true

If DecodeTxTimer in lcs_node.c is called with longTimer == true, then for values of txTimerIn exceeding 7 the returned value will exceed the range of a uint16_t type and produce unexpected results.

Returned values from DecodeTxTimer with txTimerIn in the valid range [0...15] are:
4096
6144
8192
12288
16384
24576
32768
49152
0
32768
0
0
0
0
0
0

I do not have a copy of the referenced "Tech Device Data Rev 1 p.9-17" (if there is a copy available please let me know!) but I suspect that this behavior is not intended.

Compilation error

Hello,

I tried to compile lon-stack-dx for linux 32-bits but I always got this error:

error: unknown type name ‘IzotUbits8’

  • System: Linux Ubuntu 22.04.2 LTS 64-bit
  • Compilation command: gcc -DIZOT_PLATFORM -DLINUX32_GCC -Ilon-stack-dx-master/include/abstraction -Ilon-stack-dx-master/include/common -Ilon-stack-dx-master/include/isi -Ilon-stack-dx-master/include/izot -Ilon-stack-dx-master/include/lcs -Ilon-stack-dx-master/include/ls_udp -I/lon-stack-dx-master/include/persistence -m32 ...

Can you help me on this ?

Thanks

lon-stack-dx with Enocean U60

We're using the Enocean U60 USB interface for having the LON-FT communication feature on our i.MX6 platform.
This is working with the lon-stack-ex at the moment. Now I wonder if the lon-stack-dx would be a more actual alternative for us? Now the question: Has anyone tried the lon-stack-dx with the U60 interface on Linux? Is this working (at least theoretically)?
My first tries with added functions in IzoTHal.c and IzoTCal.c are running on the i.MX6 platform with Linux but LON communication is not working yet. The U60 is registered in my system as an own network interface. I try to use sockets on this network interface on port 2541 and receive no communication - although I see the LON-FT traffic on the network interface statistics (packet and byte counts).
Thanks for any hints.
If this is interesting for the community, of cause we will share our additional code we did on the stack.

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.