Commit Graph

  • d1c0af9057
    Merge 5d84d6a1d1 into fd20b0fc5a #17 phdussud 2024-06-17 11:59:12 -0700
  • 5d84d6a1d1 Add handling of the ERROR_OPERATION_ABORTED in restart_wait for WIN32. It appears that the standard Win11 CDC driver does produce this case on occasion when the last byte of the IO has been transferred #17 Patrick Dussud 2024-06-17 11:58:36 -0700
  • 2a97db5b7f
    Merge 4b866aafe5 into fd20b0fc5a #16 Alexander Batalov 2024-03-29 12:31:21 +0300
  • 4b866aafe5 Fix xon_xoff not initialized #16 Alexander Batalov 2024-03-29 12:25:51 +0300
  • 78a9bbb748 configure.ac: Add suffix to the version: -avrdude1 #15 Hans Ulrich Niedermann 2024-02-24 03:05:21 +0100
  • e6378e7cf3 configure.ac: Change package name, bugreport and url for avrdudes fork Hans Ulrich Niedermann 2024-02-24 03:04:30 +0100
  • edac6ff5e5 configure.ac: add safety net for sp_package_* macros Hans Ulrich Niedermann 2024-02-24 00:13:22 +0100
  • 80020f59e4 configure.ac: one AC_INIT argument per line for better overview Hans Ulrich Niedermann 2024-02-24 00:05:28 +0100
  • 88a66220fe
    Merge pull request #1 from MCUdude/master Hans 2024-02-20 17:36:16 +0100
  • c874da70e8
    Merge 9d48144857 into fd20b0fc5a #7 Christopher Nyland 2023-11-23 18:45:03 +0100
  • b4f7518ce5
    Merge 8bf59cb3f2 into fd20b0fc5a #10 Martin Pischky 2023-11-14 22:03:41 -0500
  • 0cd65bd456
    Merge fe2c609bdd into fd20b0fc5a #14 Hans 2023-11-14 22:03:41 -0500
  • 9971440158
    Merge 1aa8035594 into fd20b0fc5a #5 J-P Nurmi 2023-11-14 15:54:30 +0800
  • 4acf8afb9b
    Merge f8e42f46d0 into fd20b0fc5a #4 J-P Nurmi 2023-11-03 20:23:56 +0100
  • 684a76deac
    Merge 68f9a43b2a into fd20b0fc5a #9 dsandber 2023-11-03 16:03:52 +0100
  • fd20b0fc5a change type of result variables to ssize_t master André Fonseca 2023-08-29 10:11:10 +0200
  • 323881f8a4 rename deprecated constant kIOMasterPortDefault André Fonseca 2023-08-28 15:28:22 +0200
  • fe2c609bdd
    Increase max class string length to 64 #14 Hans 2023-09-19 22:36:21 +0200
  • 7aff597e99
    change type of result variables to ssize_t #12 André Fonseca 2023-08-29 10:11:10 +0200
  • dad51a43bc
    change type of result variables to ssize_t #11 André Fonseca 2023-08-29 10:11:10 +0200
  • 193c2a6a0c
    rename deprecated constant kIOMasterPortDefault #13 André Fonseca 2023-08-28 15:28:22 +0200
  • 8bf59cb3f2 revert some whitespace changes #10 Martin Pischky 2023-07-16 11:56:14 +0200
  • f471d35695 libserialport.h: added SP_API __declspec(dllexport) and __declspec(dllimport) for MinGW54 libserialport_internal.h: added LIBSERIALPORT_MINGW64BUILD Martin Pischky 2023-07-16 11:27:32 +0200
  • 372563d702 added mingw64.mak (makefile for MinGW64) because autotools fails libserialport.h: added SP_API __declspec(dllexport) and __declspec(dllimport) for MinGW54 libserialport_internal.h: added LIBSERIALPORT_MINGW64BUILD Martin Pischky 2023-07-16 11:21:11 +0200
  • 68f9a43b2a fixed whitespace #9 Dan Sandberg 2021-07-03 08:20:33 +0200
  • 61cf288fbc Simplified code that determines if a device is a USB device. Dan Sandberg 2021-07-03 08:18:27 +0200
  • 6f9b03e597 HACK: don't even check for termiox Karl Palsson 2021-06-11 17:07:09 +0000
  • 1abec20502 Apply a default baudrate when the OS does not provide one. Jerry Jacobs 2021-06-14 18:22:58 +0200
  • a06a765515 doc: update IRC reference to Libera.Chat Gerhard Sittig 2021-06-16 20:51:42 +0200
  • 720407ac9e Fix sp_open when OS returns baudrate zero, default to 9600 baud #8 Jerry Jacobs 2021-06-14 18:22:58 +0200
  • 9d48144857 Get realpath in get_port_details #7 Christopher Nyland 2021-02-03 21:22:06 -0500
  • f955383752 Changes to linux.c to find symlinks Christopher Nyland 2021-02-02 20:55:22 -0500
  • c192c6f8df Revert old behaviour #6 Jerry Jacobs 2020-11-14 09:52:57 +0100
  • 71db7b61d2 Move fix into get_config and set config baudrate to -1 Jerry Jacobs 2020-11-13 12:44:38 +0100
  • cdcf6f6883 Fix sp_open when OS returns baudrate zero. See bugzilla issue 1632 Jerry Jacobs 2020-11-13 10:49:48 +0100
  • 1b011060df sp: clear HUPCL to preserve control lines on close Ben Gardiner 2020-09-22 03:10:08 +0000
  • 1aa8035594 sp_close(): disable exclusive mode to allow re-opening the port later #5 J-P Nurmi 2020-08-09 22:24:39 +0200
  • f8e42f46d0 Add support for (socat) pseudo serial ports #4 J-P Nurmi 2020-08-07 18:45:28 +0200
  • 086a418145 Return proper type when sp_get_port_transport() fails #3 Wolfram Sang 2020-04-05 23:24:50 +0200
  • ffbfc5c76b Open the file descriptor of a serial port on POSIX systems exclusively Leon Varga 2020-03-03 14:18:53 +0100
  • 0a24247de8 examples/send_receive: Fix receive check. Uwe Hermann 2020-03-26 22:38:41 +0100
  • 12a69e5aa2 Fix static_lib installation #2 phocs 2020-03-25 11:39:37 +0100
  • eb593c63e7 Added CMake for build phocs 2020-03-24 22:45:14 +0100
  • 251890e3b9 Fix use of variable length array in send_receive example, for MSVC. Martin Ling 2020-02-07 14:09:06 +0000
  • ba49ee82db Add send/receive example to VS2019 examples solution. Martin Ling 2020-02-07 13:56:45 +0000
  • 2913355f7e windows: Ignore fParity flag which is always 0 after GetCommState(). Martin Ling 2020-02-07 11:16:32 +0000
  • 6711e43e9b README: Remove note about old MinGW, it actually works fine. Martin Ling 2020-02-07 10:48:48 +0000
  • 75a280a597 configure.ac: remove broken handling for cygwin as $host_os. Martin Ling 2020-02-07 10:39:00 +0000
  • 7b0686ed58 Add remaining examples to examples/README. Martin Ling 2020-02-02 10:57:27 +0000
  • 4349b1f6a2 Formatting fix for example descriptions. Martin Ling 2020-02-02 10:51:47 +0000
  • cd1a7d4361 Add example of sending and receiving data. Martin Ling 2020-02-02 10:51:07 +0000
  • d81a4dfdc6 unix: Fix calculation of poll() timeout in sp_wait(). Martin Ling 2020-02-02 09:36:52 +0000
  • 78c3db9bfb Minor whitespace- and consistency fixes. Uwe Hermann 2020-01-26 21:18:49 +0100
  • 42b3cf3b98 README: Add note on building for MSYS2/Cygwin. Martin Ling 2020-01-25 16:06:49 +0000
  • fb58f12ee9 Relax timing test in the other direction. Martin Ling 2020-01-25 14:54:39 +0000
  • 2be41b1265 Fix building on Cygwin. Martin Ling 2020-01-25 14:51:56 +0000
  • f6abee5c78 Relax timing test because it's too tight for Windows. Martin Ling 2020-01-24 08:02:36 +0000
  • 6339fa04d6 README: update instructions for building with MSYS2. Martin Ling 2020-01-24 07:54:50 +0000
  • 28981e0793 README: update build instructions with VS2019/MSBuild options. Martin Ling 2020-01-24 07:05:50 +0000
  • 67b55d10b8 Add Visual Studio projects and solution to build example programs. Martin Ling 2020-01-24 05:59:29 +0000
  • d8c4d388e8 Fix use of variable length local array in await_events example. Martin Ling 2020-01-24 06:24:59 +0000
  • d6412d2801 windows: Fix another CreateFile usage. Martin Ling 2020-01-24 05:14:47 +0000
  • 60fc49ceab windows: Fix a warning on size_t to USHORT conversion. Martin Ling 2020-01-24 05:06:55 +0000
  • 41fc921ce4 windows: Fix a warning on conversion to unsigned int. Martin Ling 2020-01-24 05:03:49 +0000
  • 528e8c0002 windows: Fix warnings for conversions in time_as_timeval(). Martin Ling 2020-01-24 04:55:32 +0000
  • 988ace6c9f windows: Avoid leak of write buffer on realloc failure. Martin Ling 2020-01-24 04:44:47 +0000
  • bf40b1cea9 windows: Use correct variant of FormatMessage. Martin Ling 2020-01-24 04:30:22 +0000
  • e47c7dcbff windows: Use correct variant of CreateFile. Martin Ling 2020-01-24 04:00:13 +0000
  • 2149db9e93 Fix some warnings for size_t, DWORD and int conversions. Martin Ling 2020-01-24 03:11:47 +0000
  • 4651adb4f6 Replace some usages of int with size_t to fix overflow warnings. Martin Ling 2020-01-24 03:01:23 +0000
  • 75f468923b Add project files for Visual Studio 2019. Martin Ling 2020-01-24 02:56:50 +0000
  • e919e2efaa Adjust headers and include ordering for MSVC support. Martin Ling 2020-01-24 02:56:05 +0000
  • a20ed2965b Add example of waiting for events. Martin Ling 2020-01-23 02:54:23 +0000
  • 4720053160 Add an example of proper error handling. Martin Ling 2020-01-20 08:28:25 +0000
  • 6dba844779 Add some more narrative docs on the configuration API. Martin Ling 2020-01-20 07:40:10 +0000
  • 9ddf08588d Add example of how to configure a port. Martin Ling 2020-01-20 06:58:54 +0000
  • 0838c979cc Use SP_API prefix for functions in libserialport.h. Martin Ling 2020-01-20 05:02:27 +0000
  • f6e32b2dfa Use a static header file, not dependent on autoconf. Martin Ling 2020-01-20 04:51:52 +0000
  • 6aaf844863 windows: wc_to_utf8: use some clearer variable names. Martin Ling 2019-12-29 17:15:08 +0100
  • fdbb55ae1e windows: Don't try to include <unistd.h>. Martin Ling 2019-12-29 14:22:00 +0100
  • a9900f8b64 windows: wc_to_utf8: Eliminate variable-length array. Martin Ling 2019-12-28 22:38:04 +0100
  • e9d78d82c4 windows: Use a fixed worst-case WRITEFILE_MAX_SIZE. Martin Ling 2020-01-20 02:01:38 +0000
  • 8488868187 windows: Handle the case where there are no serial ports at all. Martin Ling 2020-01-20 01:42:00 +0000
  • c79e0ac8ef windows: Handle registry lookup failures correctly. Martin Ling 2020-01-20 01:28:17 +0000
  • 060d1d8a73 windows: Loop over WriteFile() if write size exceeds limit. Martin Ling 2020-01-04 00:13:58 +0000
  • 8073f87d45 Add test program for timing functions. Martin Ling 2020-01-20 03:43:49 +0000
  • 39acdc47db Move timing routines to separate file. Martin Ling 2020-01-04 00:43:41 +0000
  • bd72614f08 Move commonly used start flag into timeout helpers. Martin Ling 2020-01-04 00:33:50 +0000
  • 9d1ca7c855 Move special case for poll() timeout to call site. Martin Ling 2020-01-04 00:13:24 +0000
  • 3317d678de Support timing helpers on Windows. Martin Ling 2020-01-03 23:50:31 +0000
  • 08eb25f53a More generic solution for limiting per-call timeout. Martin Ling 2020-01-03 23:33:48 +0000
  • 32dbe2d298 Move repetitive timeout code into helper functions. Martin Ling 2020-01-03 22:42:00 +0000
  • 9a7945af84 Abstract all time handling operations. Martin Ling 2018-09-23 17:10:21 +0100
  • d9cc984fe7 Makefile.am: Add example files to the tarball. Uwe Hermann 2020-01-05 18:19:00 +0100
  • 44df415480 Doxygen: Fix an issue causing missing #define documentation output. Uwe Hermann 2020-01-05 18:17:04 +0100
  • 89c3d63e1a Update Doxyfile for doxygen 1.8.16. Martin Ling 2020-01-05 16:17:40 +0000
  • ee12a01e52 Release examples as public domain. Martin Ling 2020-01-05 14:53:09 +0000
  • ad19d60493 Add some additional formatting hints to Doxygen comments. Martin Ling 2020-01-05 03:28:58 +0000
  • 7c8d67efdc Integrate examples into Doxygen. Martin Ling 2020-01-05 03:04:38 +0000
  • 8c1a14e658 Add examples directory with two example programs. Martin Ling 2020-01-05 02:04:06 +0000