Java/Comunicazione seriale: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m tolto tl inesistente
m - tl inesistente
Riga 437:
 
==== Writing of Data ====
{{sectstub}}
{{TODO|todonote=
* Demonstrate usage of a separate thread to fill port's write buffer, but avoid blocking.
Line 444 ⟶ 443:
 
===== Setting up a separate Thread for Writing =====
{{sectstub}}
Using a separate thread for writing has one purpose: Avoiding that the whole application blocks in case the serial port is not
ready for writing.
Line 634 ⟶ 632:
}</source>
 
 
 
 
 
{{sectstub}}
 
==== Reading of Data ====
{{sectstub}}
 
The following example assumes that the data's destination is some file. Whenever data becomes available it is fetched from the serial port and written to the file. This is an extremely simplified view, because in reality one would need to check the data for an end-of-file indication to, for example, return to the modem command mode.
Line 690 ⟶ 682:
 
=== Handling multiple Ports in one Application ===
{{sectstub}}
=== Modem Control ===
 
Line 702 ⟶ 693:
 
== RxTx ==
{{sectstub}}
=== Overview and Versions ===