Cristian Maglie
9398f35b69
Use unsigned values for termios setting
...
This allows the last (most significant) bit to be set without
overflow errors. The error becomes visible after adding the
CRTSCTS constant on linux/386:
const tcCRTSCTS uint = 0x80000000
2016-10-20 23:55:06 +02:00
Cristian Maglie
7178181a28
Disable RTS/CTS handshake by default
...
Fix #3
2016-10-20 23:17:26 +02:00
Cristian Maglie
85dc492d83
Merge branch 'v0' into v1
2016-09-17 19:48:20 +02:00
Franz Bettag
a0fe3b8b02
Works on FreeBSD (even on armv6 and armv7 when cross compiled).
2016-09-15 17:46:58 +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
88e647775e
Rename serial.SerialPort to serial.Port
...
another lint suggestion.
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
9c18e832ce
Fixed unchecked array access
2015-01-01 17:46:14 +01:00
Cristian Maglie
da42d3809e
Added implementation for darwin x86_64
2014-12-31 19:43:47 +01:00