Coder Social home page Coder Social logo

bengtmartensson / devslashlirc Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 773 KB

Object oriented access to /dev/lirc-hardware from C++ and Java

Home Page: http://www.harctoolbox.org/

License: GNU General Public License v3.0

Makefile 6.87% C 6.67% C++ 51.52% Java 34.16% Shell 0.43% XSLT 0.35%
lirc linux infrared ir-signal jni java

devslashlirc's People

Contributors

bengtmartensson avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

devslashlirc's Issues

Fix/check timing on final silence

Silly method presently deployed in bool Mode2LircDevice::send(const lirc_t *data, unsigned length).

Problems with repeating NEC1-signals, for example from IrScrutinizer: timing of final gap of into is off.

Compile the driver on an raspberry pi :)

apt-get install maven oracle-java7-jdk
exchange the makefile i attached in /src/main/c++
Id had to change/add some includes

Makefile.zip

The only thing id got stuck is to install the built. Could you please help me with that?
It would be quite awesome to use the driver on a raspberry pi because the current liblirc isnt ported currently for the Rpi.

write(2)-errors to /dev/lirc are not transmitted to Java

JNIEXPORT void JNICALL Java_org_harctoolbox_devslashlirc_Mode2LircDevice_sendNative(....) returns void, may be enough to change to jboolean.

The following signals is too long (?), and fails silently using IrScrutinizer

0000 006C 002A 0000 015B 00AD 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 05F7 015B 0057 0016 0E6C 015B 0057 0016 0E6C 015B 0057 0016 0E6C 015B 0057 0016 0E6C

Support Lirc plugin drivers

A natural extension would be to support Lirc dynamically loaded drivers, "plugins". I have actually spent quite some time on this, contained in the branch lircdriver. There are massive problems, basically due to the bad design of the Lirc drivers, resulting (among other things) in loader problems. The C++ version works reasonably, while the Java bindings suffer from loader problems, and does not find symbols. Possibly it is a Java problem?

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.