This tutorial follows on from the tutorial on How to transfer data.
This tutorial follows on from the How to Transfer Data Tutorial. The RComm::Write() function can return when the data has been queued in the device driver buffer, or when the data has been sent by the device driver.
The RComm::Write() API can return in one of two ways:
As soon as the data has been queued with the device driver.
This allows the application to run while the data is sent so that the application can create the next block of data to send.
After the device driver has sent the data.
This is used when the application must wait for a response from the remote device after the data is sent.
The default value is dependent on the Serial Device Driver.
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.