summaryrefslogtreecommitdiff
path: root/libaltos
Commit message (Collapse)AuthorAge
* libaltos: Test both bluetooth and USB APIs with cjnitestKeith Packard2017-07-23
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add btle test programKeith Packard2017-07-21
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add support for TeleBT-v4.0 bluetooth channel changeKeith Packard2017-05-13
| | | | | | | | The RN4678 in TeleBT v4.0 uses channel 6 instead of channel 1. There is code in the linux bits which discovers this value, but that crashes when run under java for unknown reasons. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use SDP to locate the service channel on LinuxKeith Packard2017-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Fix for Mac OS X El CapitanKeith Packard2016-04-21
| | | | | | USB enumeration for serial devices changed Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Fix warning in linux libaltos codeKeith Packard2016-03-20
| | | | | | Just returned the wrong name of the value Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add Windows BT support. Split into separate source files.Keith Packard2016-03-20
| | | | | | Add Bluetooth support to Windows. Split libaltos into separate files. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add unistd.h to get defines for various syscallsKeith Packard2016-03-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: jni_md.h moved to linux subdir in Java installKeith Packard2016-03-06
| | | | | | Add the linux subdir to CFLAGS to find it. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Use more SetupDi API to get Windows 7 listing devicesKeith Packard2015-02-06
| | | | | | | | My Windows 7 box doesn't include 'SymbolicName' in the registry, but SetupDiGetDeviceInstanceId *does* return something that includes vid/pid/serial, so use that in preference. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: typo in libaltos broke the buildKeith Packard2014-07-10
| | | | | | When converting this to use dlopen, I mis-typed the name hci_read_remote_name Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Bind to libbluetooth at runtime on demandKeith Packard2014-07-10
| | | | | | This lets us reliably start and run without libbluetooth present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/altosuilib/libaltos: Remove trailing whitespaceKeith Packard2014-04-11
| | | | | | Just cleaning up the source code. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Link so with -znoexecstack flagKeith Packard2014-02-23
| | | | | | | This marks the library as not requiring an executable stack, which openjdk prefers Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore 32 and 64 bit cjnitest appsKeith Packard2014-01-15
|
* libaltos: Build -m64 and -m32 for fat tarball when possibleKeith Packard2014-01-01
| | | | | | | Check to see if we can compile libaltos for both 32 bit and 64 bit systems, and then use those when generating the linux tarball. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Import newly build libaltos.dylibKeith Packard2013-12-18
|
* libaltos: remove usb id filtering from darwin codeKeith Packard2013-12-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: fix test harness main typeKeith Packard2013-12-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore .dll files in libaltosKeith Packard2013-12-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Missed libaltos java compile flags from previous patchKeith Packard2013-12-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: use PurgeComm in Windows altos_close to abort in-progress opsKeith Packard2013-05-17
| | | | | | | | Instead of manually signalling the related events, use PurgeComm which can then abort the operations itself. Also make sure all of the relevant handles are set to INVALID before closing them to avoid race conditions. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Build the linux library targets when doing a 'fat' buildKeith Packard2013-05-17
| | | | | | These are necessary for the fat release, so make sure they're built then. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Delay after opening bluetooth device on linuxKeith Packard2013-04-20
| | | | | | Writes immediately after the open disappear sometimes. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Try Bluetooth open 5 times on EBUSYKeith Packard2013-04-20
| | | | | | | After closing Bluetooth, it can take a second before the device is up for another connection. Hang around retrying a few times. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Retry Windows serial port open five timesKeith Packard2013-04-12
| | | | | | Maybe this helps? Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Open FTDI serial devices twice on Windows.Keith Packard2013-03-02
| | | | | | | | | | Looks like the Windows FTDI driver has 'issues' and opening it only once doesn't work correctly. Just close and re-open the device and it seems to be perfectly happy. Who knows? Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Need to check for tty/ttyACMx before ttyACMxKeith Packard2013-01-10
| | | | | | | Otherwise, we'll find 'tty' when looking for 'ttyACMx' and no good will come from that Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Create Mac OS X packageKeith Packard2013-01-06
| | | | | | Includes the FTDI driver and the MicroPeak app Signed-off-by: Keith Packard <keithp@keithp.com>
* Add separate code path for listing FTDI devicesKeith Packard2013-01-05
| | | | | | | This lets the library do different things for FTDI devices, as is required on Windows (for instance) Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Remove a couple of spurious debug printfsKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak is code complete now.Keith Packard2013-01-01
| | | | | | Added save and download functionality. Removed 'new' from file menu. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move libaltos to top levelKeith Packard2012-12-25
This will let it be shared by the new MicroPeak gui Signed-off-by: Keith Packard <keithp@keithp.com>