Coder Social home page Coder Social logo

daplug-c's Introduction

C Daplug API 1.2

C Daplug API is a high level library for communication with Daplug dongles. It maps the Daplug dongle specification in an user friendly format.

Daplug API source files are in the "src" directory.

The "main.c" file in the "test" directory contains test functions for understanding how the C Daplug API works.

How to compile

Windows (Tested on Windows 7 - 32 bit)

  • Install openssl for windows "Win32 OpenSSL v1.0.1f" or greater (http://slproweb.com/products/Win32OpenSSL.html)

  • Install libusbx-1.0

  • Linked libraries : libusb-1.0 (libusbx), libeay32 (openssl) and setupapi.

  • When compiling, sets openssl and libusbx search directories (include & dll) : here we use dynamic linking ; so not forget to put dll files in the runtime directory when deploying.

  • If driver problem, install it using zadig (http://zadig.akeo.ie/).

Linux (Tested on Ubuntu 13.10 - 64 bit)

  • Linked libraries (install required files if necessary): libusb-1.0, libcrypto (openssl) and libpthread.

  • Add proper udev rule.

  • Add -fPIC to compiler options. (when creating a lib)

OS X (Tested on OS X 10.8.5 - 64 bit)

  • Linked libraries/frameworks (install required files if necessary): libusb-1.0, libcrypto (openssl), CoreFoundation and IOKit frameworks (required by hidapi).

Notes

  • Be careful ! Use the right "hidapi" source file according to your OS (rename it to "hidapi.c") !!!

daplug-c's People

Contributors

benamsaap avatar henji avatar

Watchers

James Cloos avatar

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.