Commit Graph

22 Commits

Author SHA1 Message Date
Cristian Maglie
5050c50185 Added USB API 2016-11-30 01:46:44 +02:00
Cristian Maglie
e9103998c3 Merge remote-tracking branch 'cmaglie/fix-read-close-deadlock' into v1 2016-11-27 21:30:58 +01:00
Cristian Maglie
d50de5cbaf unix: Fixed race condition while closing serial port. Added PortClosed error 2016-11-14 00:36:30 +01:00
Cristian Maglie
5be0087bd5 Added interface methods for RS232 signals 2016-10-31 18:02:38 +01:00
Cristian Maglie
cb166b5b85 Improved error reporting on setting stop bits 2016-10-22 18:32:51 +02:00
Cristian Maglie
f78e270591 Slightly improved error messages 2016-10-22 18:32:51 +02:00
Cristian Maglie
c534e6fb45 Improved error reporting for parity settings 2016-10-22 18:32:51 +02:00
Cristian Maglie
fe0dfe76d3 Improved PortError
Removed useless "err" field.
Added "causedBy" field to wrap nested error.
2016-10-12 16:53:49 +02:00
Cristian Maglie
b89deafa1c Change import path to "go.bug.st/serial.v1"
This is needed when there are breaking changes in the API.
2016-09-05 01:05:22 +02:00
Cristian Maglie
f5be203394 Created interface Port. Rationalized documentation. 2016-04-24 17:20:49 +02:00
Cristian Maglie
485b2f86a8 Fixed a bunch of golint warnings (this needs an API change) 2016-04-24 17:20:49 +02:00
Cristian Maglie
e90aca32c8 Updates to documentation 2016-01-01 21:14:05 +01:00
Cristian Maglie
55b609d095 Added first draft of documentation 2015-01-02 03:08:31 +01:00
Cristian Maglie
14313e47fb Added canonical (vanity) imports 2014-12-30 20:41:33 +01:00
Cristian Maglie
d8910d4004 Simplified API for setting port mode 2014-12-24 23:59:59 +01:00
Cristian Maglie
fffcc61237 Added Set(...) method to set all comm-params altogether 2014-12-15 18:43:09 +01:00
Cristian Maglie
f84dc80d3e Added SetStopBits (linux only) 2014-12-14 18:50:29 +01:00
Cristian Maglie
3351cd50e0 Added SetDataBits function (linux only for now) 2014-12-14 18:39:51 +01:00
Cristian Maglie
83038c8ed9 Idiomatic 'iota' enumeration for serial error codes 2014-12-14 18:00:50 +01:00
Cristian Maglie
1d5eedba28 Added SetParity (still missing windows implementation) 2014-12-14 17:54:16 +01:00
Cristian Maglie
340397b32a Added LICENSE 2014-12-14 16:44:34 +01:00
Cristian Maglie
8c49fe6332 Reorganized repository 2014-12-14 16:07:10 +01:00