nn::ir::CTR::Communicator::GetConnectionStatusEvent Member Function
static void GetConnectionStatusEvent(
nn::os::Event * pEvent
);
| Name | Description | |
|---|---|---|
| out | pEvent | Stores the event. |
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.
CONFIDENTIAL