This tutorial explains how to terminate a read request. topic.
This tutorial assumes a knowledge of the How to transfer data: Tutorial topic.
An application that must respond quickly can set termination charactes that are expected in the data. The read requests complete if any termination characters appear in the data.
If an application needs to respond quickly to the content of the data that is received, the application can set termination characters. If any termination characters are set, the Serial Communications Server inspects the data during a read request. If the Serial Communications Server detects a termination character during a read request, the Serial Communicatoins Server completes the request with the data.
For example, an application that is reading lines of text can set the termination character to the line end character.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.