equal
deleted
inserted
replaced
8 be provided or otherwise made available to, or used by, any |
8 be provided or otherwise made available to, or used by, any |
9 other person. No title to or ownership of the software is |
9 other person. No title to or ownership of the software is |
10 hereby transferred. |
10 hereby transferred. |
11 " |
11 " |
12 "{ Package: 'stx:libbasic2' }" |
12 "{ Package: 'stx:libbasic2' }" |
|
13 |
|
14 "{ NameSpace: Smalltalk }" |
13 |
15 |
14 NonPositionableExternalStream subclass:#SerialPort |
16 NonPositionableExternalStream subclass:#SerialPort |
15 instanceVariableNames:'portName baudRate stopBitsType parityType dataBits inFlowCtrlType |
17 instanceVariableNames:'portName baudRate stopBitsType parityType dataBits inFlowCtrlType |
16 outFlowCtrlType xOnChar xOffChar' |
18 outFlowCtrlType xOnChar xOffChar' |
17 classVariableNames:'DefaultPortName' |
19 classVariableNames:'DefaultPortName' |
258 xOffChar := xOffCharOrNil. |
260 xOffChar := xOffCharOrNil. |
259 ! |
261 ! |
260 |
262 |
261 setStopBitsType:stopBitsTypeOrNil |
263 setStopBitsType:stopBitsTypeOrNil |
262 stopBitsType := stopBitsTypeOrNil. |
264 stopBitsType := stopBitsTypeOrNil. |
|
265 ! ! |
|
266 |
|
267 !SerialPort methodsFor:'initialization'! |
|
268 |
|
269 initialize |
|
270 super initialize. |
|
271 "/ transparent |
|
272 eolMode := nil. |
263 ! ! |
273 ! ! |
264 |
274 |
265 !SerialPort methodsFor:'low level'! |
275 !SerialPort methodsFor:'low level'! |
266 |
276 |
267 baudRate:newRate |
277 baudRate:newRate |
633 ! ! |
643 ! ! |
634 |
644 |
635 !SerialPort class methodsFor:'documentation'! |
645 !SerialPort class methodsFor:'documentation'! |
636 |
646 |
637 version |
647 version |
638 ^ '$Header: /cvs/stx/stx/libbasic2/SerialPort.st,v 1.25 2014-04-04 08:19:20 stefan Exp $' |
648 ^ '$Header: /cvs/stx/stx/libbasic2/SerialPort.st,v 1.26 2015-02-10 20:47:36 cg Exp $' |
639 ! |
649 ! |
640 |
650 |
641 version_CVS |
651 version_CVS |
642 ^ '$Header: /cvs/stx/stx/libbasic2/SerialPort.st,v 1.25 2014-04-04 08:19:20 stefan Exp $' |
652 ^ '$Header: /cvs/stx/stx/libbasic2/SerialPort.st,v 1.26 2015-02-10 20:47:36 cg Exp $' |
643 ! ! |
653 ! ! |
644 |
654 |