Commit Graph

19 Commits

Author SHA1 Message Date
Sven Weidauer
10b91eb8a2 Swift 5 2019-04-07 12:23:59 +02:00
bjarnedevel0per
db7a3b79a2 handle removal of the serialdevice 2018-09-11 10:26:36 +02:00
bjarnedevel0per
1b9591e07a catch type conversion error 2018-09-11 08:30:41 +02:00
John Scarfone
812a55a381 make compile 2018-03-21 19:29:05 -04:00
Yeo Kheng Meng
f3c3a214e3 adjust readbyte documentation 2017-06-24 17:54:36 +08:00
Yeo Kheng Meng
5536368ba7 refactor readchar to use readbyte 2017-06-24 17:40:49 +08:00
AleyRobotics Aleynikov Yuri
cfaf24357c Merge commit 'f9981b1ceca99f34ee8f38f9efd5306eda19c657'
Conflicts:
	Sources/SwiftSerial.swift
2017-06-24 11:38:25 +03:00
AleyRobotics Aleynikov Yuri
543e7d39e0 read byte feature add 2017-06-24 11:21:58 +03:00
AleyRobotics
f9981b1cec Read byte function add
Read UInt8 from port
2016-12-25 22:13:28 +03:00
Yeo Kheng Meng
02e0d4837e remove nonblock flag to prevent massive cpu usage during reading. Will require use of /dev/cu.* only 2016-10-29 21:11:40 +08:00
Yeo Kheng Meng
e73ea6056d update with new character specific functions 2016-10-29 17:41:27 +08:00
Yeo Kheng Meng
75aac88f14 space in comment 2016-10-26 00:04:01 +08:00
Yeo Kheng Meng
860221c029 adjust code to read until new character is encountered. Example code now tests for this. 2016-10-25 23:57:25 +08:00
Yeo Kheng Meng
55fa2ee514 comment explanation for the type alias 2016-10-25 23:21:54 +08:00
Yeo Kheng Meng
58c6521bbf Correct issue where sometimes the bytesRead can be -1 especially when read() is called for the first time 2016-10-25 23:17:24 +08:00
Yeo Kheng Meng
f6730aae6f remove print top 2016-10-25 22:56:22 +08:00
Yeo Kheng Meng
4183f388a6 open port params separate for mac 2016-10-25 22:47:02 +08:00
Yeo Kheng Meng
d69f2a8f04 ability to choose parity even or odd if enabled 2016-10-25 22:23:11 +08:00
Yeo Kheng Meng
ecf296c107 Initial commit of jayjun's improvements https://github.com/jayjun/SwiftLinuxSerial/tree/idiomatic-swift 2016-10-24 22:00:08 +08:00