Class tasciiprotport
Unit
Declaration
type tasciiprotport = class(tasciicommport)
Description
This item has no description. Showing description inherited from tcommport.
Base class for custom serial protocol drivers, often connected to an RS485 bus: build your own tcommport and tcommthread descendants to implement a protocol, as tasciicommport/tasciicommthread do for ASCII protocols. thread.readstring(count,dest,timeoutus) reads a fixed number of bytes from the port thread; lower level access is possible through thread.port, e.g. thread.port.readbuffer. The state of the control lines is not used by these components; use trs232.handle with the OS serial API if you need them.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tcommport
- tasciicommport
- tasciiprotport
Overview
Methods
| Protected | function geteventclass: asciicommeventclassty; override; |
| Public | function send(const commandstring: string; out answer: string; atimeout: integer = 0; aadress: integer = -1): integer; |
Description
Methods
| Protected | function geteventclass: asciicommeventclassty; override; |
|
This item has no description. | |
| Public | function send(const commandstring: string; out answer: string; atimeout: integer = 0; aadress: integer = -1): integer; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.