kopia lustrzana https://github.com/Hamlib/Hamlib
![]() Some distributions--Debian and Alpine tested--put libusb.h under the libusb-1.0 directory. Test for its presence and if found define HAVE_LIBUSB_1_0_LIBUSB_H. Also test for HAVE_LIBUSB or HAVE_LIBUSB_1_0_LIBUSB_H and conditionally include the correct header file in the sources. |
||
---|---|---|
.. | ||
Makefile.am | ||
README.android | ||
config.h | ||
hamlib-compile | ||
ltdl.c | ||
ltdl.h |
README.android
This is android port of hamlib (C) 2012 Ladislav Vaiz <ok1zia@nagano.cz> Notes: * use hamlib-compile script to build hamlib for android * script deletes file include/config.h, it conflicts with android/config.h * android port implements ltdl interface and calls dlfcn functions directly * RPC is not present on android * ARS backend is compiled without pthreads because of deprecated pthread_cancel * I don'k know how to connect to real radio: ** Bluetooth API is available only under Java, not from native code ** FTDI USB to serial converter driver is not included in standard kernel. It should work on rooted device. ** But NET rigctl works fine * Backends are named libhamlib-vendor.so, I don't know how to include libraries without lib prefix into APK * Check the location of libusb.h and define the corresponding macro accordingly in config.h. Happy hacking 73 Lada, OK1ZIA