nn::ir::CTR::Communicator::GetConnectionStatusEvent Member Function

Syntax

static void GetConnectionStatusEvent(
     nn::os::Event * pEvent
);

Parameters

Name Description
out pEvent Stores the event.

Return Values

None.

Description

Gets events that are used to detect changes in the state of the IR library.

Typically, these are events signaled by a change in the status returned by GetConnectionStatus.
Below is a description of the conditions for the signaling of events.

1. When a connection with a peer device is established. At such times, the status transitions to CONNECTION_STATUS_CONNECTED.
2. When a process requested by Disconnect has completed. At such times, the status transitions to CONNECTION_STATUS_STOP.
3. When a disconnection request has been received from a peer and the connection has been disconnected. At such times, the status transitions to CONNECTION_STATUS_STOP.
4. When the IR module may be malfunctioning and has transitioned to the fail state. At such times, the status transitions to CONNECTION_STATUS_FATAL.

Revision History

2011/10/05
Fixed missing reference pertaining to the argument.
2011/08/30
Initial version.

CONFIDENTIAL