Commit Graph

  • 13b6f1ac38 Merge pull request #111 from cmaglie/custom-baudrate Cristian Maglie 2021-07-01 13:06:55 +02:00
  • 9d74cb081f Added *bsd placeholders Cristian Maglie 2021-07-01 00:48:39 +02:00
  • 8ed18bb997 Fixed custom baud rate settings for MacOSX Cristian Maglie 2021-07-01 00:19:22 +02:00
  • cff9b2347b Allow setting custom baudrates on serial ports (mac and linux version) Cristian Maglie 2021-07-01 00:00:16 +02:00
  • 01c367d024 Merge pull request #109 from cmaglie/timeouts Cristian Maglie 2021-06-29 17:00:47 +02:00
  • 25a9426221 Move regex compile outside loop Cristian Maglie 2021-06-29 16:40:56 +02:00
  • 23dbc8b9ba SetReadTimeout: windows implementation Cristian Maglie 2020-05-11 00:01:36 +01:00
  • 2cb14f049c SetReadTimeout: unix implementation Cristian Maglie 2020-05-10 23:42:16 +02:00
  • a63b28875f linux: detect port disconnection during Read Cristian Maglie 2017-07-27 13:53:59 +02:00
  • f355dbf608 windows: correcly signal PortClosed error on blocked Read() Cristian Maglie 2017-03-12 22:44:28 +02:00
  • 383ed1cd2a Merge pull request #103 from cmaglie/windows-improve-usb-sernum-disc Cristian Maglie 2021-02-26 14:59:48 +01:00
  • 57ac200f98 windows: improved serial number detection on composite USB devices Cristian Maglie 2021-01-06 23:38:12 +00:00
  • 7183520fbb run of go-fmt Cristian Maglie 2021-01-06 18:00:47 +00:00
  • 388e793063 Merge pull request #102 from cmaglie/go-generate-rerun Cristian Maglie 2021-02-26 13:25:56 +01:00
  • 233eb2a09b Refresh run of go generate with the latest mksyscall Cristian Maglie 2021-02-26 13:20:02 +01:00
  • b6c28f76a4 Merge pull request #101 from cmaglie/big-sur-support Cristian Maglie 2021-02-26 13:17:09 +01:00
  • b62cd2386c Added support for macosx 10.11+ Cristian Maglie 2021-02-26 13:07:44 +01:00
  • e18766f4d1 update go generate Tomáš Polomský 2020-05-09 08:40:06 +02:00
  • be77090773 update goselect to get riscv support Cliff Brake 2021-02-19 14:24:33 -05:00
  • 57b513a432 add support for darwin arm64 Tobias Kohlbau 2021-02-07 08:32:41 +01:00
  • 00e63fcc18 small cosmetic fix Cristian Maglie 2020-05-11 00:02:01 +01:00
  • eb474d2569 Use golang.org/x/sys/unix provided ioctl functions Maddie Zhan 2020-09-10 16:57:12 +08:00
  • 578b2ec832 only check for newline instead of newline and carraiage return Lukas Becker 2020-05-08 13:40:05 +02:00
  • b0154211af removed empty line Lukas Becker 2020-05-08 13:38:56 +02:00
  • f88d900804 changed the example_test.go so it stops reading when "\n\r" is received Lukas Becker 2020-05-08 12:43:23 +02:00
  • 640e755b94 Wait for socat to be ready before running full test. Elliott Sales de Andrade 2020-04-20 01:58:37 -04:00
  • 49ab90eff3 Updates to readme Cristian Maglie 2020-04-20 00:08:51 +02:00
  • 66bfcede42 Added test for port double close Cristian Maglie 2020-04-19 00:47:22 +02:00
  • f0282e0b50 Use mutex on Close() to avoid data races on windows Tobias Kaupat 2017-11-30 12:08:22 +01:00
  • 545e830e04 Allow multiple calls to close Tobias Kaupat 2017-11-27 18:28:08 +01:00
  • 6500d68fc8 Added test to detect correct behaviour in Close and Read ops Cristian Maglie 2020-04-19 00:20:16 +02:00
  • 1b760a82af allow Close() to be called from other goroutine than Read angri 2017-09-15 19:27:16 +03:00
  • 1131ba52fd Do not return -1 from Read() and Write() Andrey Demenev 2019-02-03 03:35:32 +10:00
  • f7a06a7c47 Merge remote-tracking branch 'origin/v1' Cristian Maglie 2020-04-18 23:46:54 +02:00
  • 9f6eea0188 Fixing getPortList on windows without any ports martin-zaber 2019-03-21 09:51:03 -07:00
  • 820cffa341 Added doc for new USB Product field (windows-only) Cristian Maglie 2020-04-18 22:22:31 +01:00
  • f0d91f6e0d Product in PortDetails struct giacomoberlin 2017-08-16 07:12:40 +02:00
  • 4df0da8377 completed retrievePortDetailsFromDevInfo giacomoberlin 2017-08-16 07:05:12 +02:00
  • 900c828b75 fixed API procSetupDiGetDeviceRegistryPropertyW giacomoberlin 2017-08-16 06:49:34 +02:00
  • 6a673bf917 Transparently handle EINTR during Read Cristian Maglie 2019-12-03 20:26:03 +01:00
  • d1a463e324 Updated build-passing badge Cristian Maglie 2019-12-03 16:56:42 +01:00
  • 88e081691b Fixed enumerator build for openbsd (unsupported operation) Cristian Maglie 2019-12-03 16:53:39 +01:00
  • 96546e190f Added some cross-os builds Cristian Maglie 2019-12-03 16:48:45 +01:00
  • 15b0a663d5 Switch to gh-actions (WIP 1/2) (#67) Cristian Maglie 2019-12-03 16:39:18 +01:00
  • f2a9ea925f Updates to readme Cristian Maglie 2019-12-02 20:00:32 +01:00
  • df95023074 Introducing go.mod for dep management Cristian Maglie 2019-12-02 19:51:36 +01:00
  • 24a6610f05 Updated license years Cristian Maglie 2019-12-02 19:27:10 +01:00
  • 5f7892a7bb Merge pull request #52 from bugst/osx-fix-again Cristian Maglie 2018-08-27 14:33:49 +02:00
  • 219de06186 Fixed darwin build for go1.10+ Cristian Maglie 2018-08-27 14:18:10 +02:00
  • d3b8f81e83 Added go1.11 to travis build Cristian Maglie 2018-08-27 14:10:46 +02:00
  • d759e28145 Merge pull request #51 from bugst/osx-fix Cristian Maglie 2018-08-23 15:47:59 +02:00
  • 1c2446b92c Implementing compatibility with go latest Cristian Maglie 2018-08-19 19:13:36 +02:00
  • e42339511c Fixed wrong build tags... oops Cristian Maglie 2018-08-19 18:57:32 +02:00
  • de1714d049 Added portlist cmd-line utility Cristian Maglie 2018-08-19 18:52:20 +02:00
  • 338c399730 Factored out C.IORegistryEntryCreateCFProperty method Cristian Maglie 2018-08-19 18:51:07 +02:00
  • 6085517433 Made error variable explicit in search loop Cristian Maglie 2018-08-19 18:41:24 +02:00
  • cdac3b30e1 Removed extra parenthesis Cristian Maglie 2018-08-19 18:41:00 +02:00
  • 71fe05aedd Added Release method to CFTypeRef Cristian Maglie 2018-08-19 18:40:47 +02:00
  • ee147ffce4 Added Release method to CFStringRef Cristian Maglie 2018-08-19 18:28:40 +02:00
  • 75aa16d69f CFRef are no more internally represented as pointer but as integers Cristian Maglie 2018-08-19 18:13:24 +02:00
  • ef634e5745 Removed duplicated methods on (nowadays) equivalent type C.io_*_t Cristian Maglie 2018-08-19 18:11:11 +02:00
  • 3c7a545ca2 Removed -fconstant-cfstrings CGO build flag Cristian Maglie 2018-08-19 18:09:25 +02:00
  • 3ee4586c58 Splitted usb_darwing.go in two different build units based on go version Cristian Maglie 2018-08-19 17:46:38 +02:00
  • c702e0a9aa Added OSX environment to travis builds Cristian Maglie 2018-08-19 02:07:48 +02:00
  • eae1344f9f Merge pull request #36 from Lobaro/v1 Cristian Maglie 2017-07-28 10:12:30 +02:00
  • 04b4ab1e45 Remove GetDTR() and GetRTS() Tobias Kaupat 2017-07-28 09:49:49 +02:00
  • 86b770d218 Enumerator: Fixed go:generate comment Veniamin Albaev 2017-06-30 17:00:37 +03:00
  • fd75bf3895 Windows: Set DTS via setCommState Tobias Kaupat 2017-07-25 13:07:20 +02:00
  • 1ba1196861 Fixed build of USB enumerator for go compiler >=1.8.3 (@facchinm) Cristian Maglie 2017-06-22 15:40:38 +02:00
  • c4db4e3956 Allow travis build failure on GOOS=openbsd GOARCH=arm Cristian Maglie 2017-03-12 22:47:07 +01:00
  • 4366d1c449 Tentative support for OpenBSD Cristian Maglie 2017-03-04 22:40:50 +01:00
  • 4cc831e192 Some serial constants replaced by sys/unix package Cristian Maglie 2017-03-12 21:23:58 +01:00
  • 8b7629bfe1 Added buffer flush methods Veniamin Albaev 2017-03-09 11:11:06 +03:00
  • 4d886c1028 Unix: move from syscall to golang.org/x/sys/unix Veniamin Albaev 2017-03-09 11:04:34 +03:00
  • ccc846995c TravisCI: add go 1.8.x Veniamin Albaev 2017-03-09 10:53:16 +03:00
  • 4da3278c95 Use mksyscall_windows.go from $GOROOT Veniamin Albaev 2017-03-09 10:46:44 +03:00
  • 48d7240ab8 Fixed typo Cristian Maglie 2017-03-04 22:54:59 +01:00
  • 970475ed06 Updated licenses Cristian Maglie 2017-03-04 16:29:55 +01:00
  • b55fdf163b All //sys instructions moved to separate syscall_* files Veniamin Albaev 2017-02-01 09:23:20 +03:00
  • 51237629e6 Fix build using Darwin and osxcross Martino Facchin 2017-02-13 16:02:49 +01:00
  • 0d8c7bfd78 Merge branch 'usb' into v1 Cristian Maglie 2017-02-04 00:56:12 +01:00
  • 11d1e54246 Updated docs for USB Cristian Maglie 2017-02-04 00:53:51 +01:00
  • fbd0f9fb33 Exclude 'enumerator' module from Travis-CI build Cristian Maglie 2017-02-04 00:31:57 +01:00
  • 3ad7c6b7d2 Moved go:generate into non-GOOS specific file Cristian Maglie 2017-02-04 00:24:21 +01:00
  • 0eb640a768 TravisCI usign go 1.7.x instead of 1.7.2 Veniamin Albaev 2017-01-29 23:00:19 +03:00
  • c8b1c23a56 Moved USB enumerations subroutines in their own package Cristian Maglie 2017-01-07 23:38:51 +01:00
  • 378aafb2f7 //go:generate moved out of OS specific go file Veniamin Albaev 2017-01-24 11:29:30 +03:00
  • ff9cf2b84b Windows: use OVERLAPPED operations Cristian Maglie 2017-01-20 02:37:06 +02:00
  • 69c094e3c7 Fix typo in doc.go Cristian Maglie 2016-12-26 13:01:56 +01:00
  • 9d2bfefb78 Updated documentation (USB detection) Cristian Maglie 2016-12-25 18:46:04 +01:00
  • b1f15cfb64 Improved error checking on osx USB detection Cristian Maglie 2016-12-25 18:26:18 +01:00
  • ecd31dc766 Added USB VID/PID detection for osx Cristian Maglie 2016-12-13 23:15:12 +01:00
  • 5769f96804 Temporarily remove USB manufacturer/product info Cristian Maglie 2016-12-11 23:46:15 +01:00
  • 3d6dd00ccb USB detection for Windows (alternative implementation with OLE) Cristian Maglie 2016-10-22 18:55:05 +02:00
  • ad7966a434 USB detection for Windows (based on setupapi) Cristian Maglie 2016-10-22 18:36:35 +02:00
  • 2d0a54e6c8 Added USB discovery for Linux Cristian Maglie 2016-10-12 16:18:58 +02:00
  • 5050c50185 Added USB API Cristian Maglie 2016-10-08 11:15:50 +02:00
  • e9103998c3 Merge remote-tracking branch 'cmaglie/fix-read-close-deadlock' into v1 Cristian Maglie 2016-11-27 21:30:58 +01:00
  • 018968a9e6 Fixed travis build Cristian Maglie 2016-11-14 00:51:48 +01:00
  • d50de5cbaf unix: Fixed race condition while closing serial port. Added PortClosed error Cristian Maglie 2016-11-14 00:31:01 +01:00