nn::uds::CTR::State Enumerated Type

Syntax

enum State;

Values

Value Description
STATE_NONE Uninitialized.
STATE_PROCESSING_INITIALIZE Internal state indicating that initialization is in progress. The application will not obtain this value.
STATE_PROCESSING_FINALIZE Internal state indicating that finalization is in progress. The application will not obtain this value.
STATE_DISCONNECTED Disconnected.
STATE_CREATING_NETWORK Intermediate state when going from disconnected to operating as the master device of a new network. The state transitions automatically to STATE_MASTER.
STATE_DESTROYING_NETWORK Intermediate state between stopping operations as the master device and disconnecting. The state transitions automatically to STATE_DISCONNECTED.
STATE_MASTER Operating as the master device.
STATE_CONNECTING_NETWORK Intermediate state between being disconnected, building the specified network, and operating as a client or spectator. The state transitions to STATE_DISCONNECTED if the connection fails, and to STATE_CLIENT or STATE_SPECTATOR if the connection succeeds.
STATE_DISCONNECTING_NETWORK Intermediate state between leaving the network and simply being disconnected. The state transitions automatically to STATE_DISCONNECTED.
STATE_CLIENT Operating as a client device. The state transitions automatically to STATE_DISCONNECTING_NETWORK if the signal strength declines to the point that a connection cannot be maintained.
STATE_SPECTATOR Operating as a spectator. The state transitions automatically to STATE_DISCONNECTING_NETWORK if the signal strength declines to the point that a connection cannot be maintained.
STATE_ERROR State in which the UDS library must be finalized. There is a state transition upon entering Sleep Mode or when the wireless switch is turned off while the UDS library is in use.
STATE_MAX
STATE_MAX_BIT

Description

Enumerated type representing UDS states.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL