The sk.ipesoft.sgcom.serial module mediates communication over a serial line with an interface that is very similar to the java.net.Socket object interface. First of all, it is about exposing input and output in the form of java.io.InputStream and OutputStream, but also the ability to set a timeout for reading. The jssc library is used internally. In the implementation, the change of serial communication parameters "on the fly", as practically used by the IEC62056-21 protocol when communicating via an optical head, is not well managed yet.
The use of this module is preferred over the built-in support for serial communication in the jDLMS library, because it can also be used on IEC21 and also because of better support for debugging and writing to the LOG.



0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .