summaryrefslogtreecommitdiff
path: root/libaltos/libaltos.c
Commit message (Collapse)AuthorAge
* 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: 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>
* 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>