nn::uds::CTR::DisconnectReason Enumerated Type

Syntax

enum DisconnectReason;

Value

Value Description
BEFORE_COMMUNICATION Indicates that communication has not yet occurred.
NETWORK_IS_AVAILABLE Network is available.
REQUEST_FROM_MYSELF Disconnected from the network due to an operation on the local host.
REQUEST_FROM_SYSTEM Disconnected from the network because of request from the system (for example, because the system entered wireless-disabled mode or Sleep Mode).
DISCARDED_FROM_NETWORK Kicked off the network due to a command from the master device. The client got disconnected due to deteriorating signal strength and the internal state of the master.
CONNECTION_LOST The signal deteriorated and the beacon from the master could not be received during a set time, so the connection could not be maintained.
UNKNOWN_DISCONNECT_REASON Disconnected for an unknown reason.
DISCONNECT_REASON_MAX
DISCONNECT_REASON_MAX_BIT

Description

Enumerated type representing the reasons for disconnection.

Revision History

2012/02/14
Corrected the descriptions of DISCARDED_FROM_NETWORK and CONNECTION_LOST.
2011/03/08
Revised the description for REQUEST_FROM_SYSTEM.
2010/06/14
Initial version.

CONFIDENTIAL