1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>SendMode</title> 8 </head> 9 <body> 10<h1><CODE>nn::cec::CTR::SendMode</CODE> Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14typedef u8 nn::cec::CTR::SendMode;</pre> 15 </div> 16<h2>Description</h2> 17 <div class="section"> 18<p>The sending mode for messages. Specified in a message.</p><p><CODE>SENDMODE_RECV</CODE>: Receiving only<br /> <CODE>SENDMODE_SEND</CODE>: Sending only<br /> <CODE>SENDMODE_SENDRECV</CODE>: Sending and receiving<br /> <CODE>SENDMODE_EXCHANGE</CODE>: Exchanging<br /><br /> Messages set to <CODE>SENDMODE_RECV</CODE> will not be sent and will only wait for reception from a communication partner.<br />For messages set to <CODE>SENDMODE_EXCHANGE</CODE>, if sending does not succeed (see <B>Note</B>), messages received at that time are not saved.<br />Also, the MessageID of the message that was sent with the exchange is recorded in the received message, and you can track with which message it was exchanged. This MessageID can be acquired with <CODE>MessageGetMessageId_Pair</CODE>.<br /><br /><B>Note:</B> When the send operation completes, it is judged to have succeeded. There is no check to see whether the partner has fully saved the data. In situations such as when the operation is canceled while the partner is saving the received data (<a href="../../../nn/cec/CTR/CecControl/StopScanning.html"><CODE>CecControl::StopScanning</CODE></a>) or when there is duplicate data in the partner's inbox, the send operation is handled as successful even though it is not possible to determine whether the partner received the data.</p><!-- write here --></div> 19<h2>Revision History</h2> 20 <div class="section"> 21 <dl class="history"> 22 <dt>2010/08/16</dt> 23<dd>Initial version.<br /> 24 </dd> 25 </dl> 26 </div> 27 <hr><p>CONFIDENTIAL</p></body> 28</html> 29