Skip to content

Plug-up/daplug-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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") !!!

About

Daplug C APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors