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>State</title> 8 </head> 9 <body> 10<h1><CODE>nn::uds::CTR::State</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum State; 15</pre> 16 </div> 17<h2>Values</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th>STATE_NONE</th> 28<td>Uninitialized.</td> 29 </tr> 30 <tr> 31<th>STATE_PROCESSING_INITIALIZE</th> 32<td>Internal state indicating that initialization is in progress. The application will not obtain this value.</td> 33 </tr> 34 <tr> 35<th>STATE_PROCESSING_FINALIZE</th> 36<td>Internal state indicating that finalization is in progress. The application will not obtain this value.</td> 37 </tr> 38 <tr> 39<th>STATE_DISCONNECTED</th> 40<td>Disconnected.</td> 41 </tr> 42 <tr> 43<th>STATE_CREATING_NETWORK</th> 44<td>Intermediate state when going from disconnected to operating as the master device of a new network. The state transitions automatically to <CODE>STATE_MASTER</CODE>.</td> 45 </tr> 46 <tr> 47<th>STATE_DESTROYING_NETWORK</th> 48<td>Intermediate state between stopping operations as the master device and disconnecting. The state transitions automatically to <CODE>STATE_DISCONNECTED</CODE>.</td> 49 </tr> 50 <tr> 51<th>STATE_MASTER</th> 52<td>Operating as the master device.</td> 53 </tr> 54 <tr> 55<th>STATE_CONNECTING_NETWORK</th> 56<td>Intermediate state between being disconnected, building the specified network, and operating as a client or spectator. The state transitions to <CODE>STATE_DISCONNECTED</CODE> if the connection fails, and to <CODE>STATE_CLIENT</CODE> or <CODE>STATE_SPECTATOR</CODE> if the connection succeeds.</td> 57 </tr> 58 <tr> 59<th>STATE_DISCONNECTING_NETWORK</th> 60<td>Intermediate state between leaving the network and simply being disconnected. The state transitions automatically to <CODE>STATE_DISCONNECTED</CODE>.</td> 61 </tr> 62 <tr> 63<th>STATE_CLIENT</th> 64<td>Operating as a client device. The state transitions automatically to <CODE>STATE_DISCONNECTING_NETWORK</CODE> if the signal strength declines to the point that a connection cannot be maintained.</td> 65 </tr> 66 <tr> 67<th>STATE_SPECTATOR</th> 68<td>Operating as a spectator. The state transitions automatically to <CODE>STATE_DISCONNECTING_NETWORK</CODE> if the signal strength declines to the point that a connection cannot be maintained.</td> 69 </tr> 70 <tr> 71<th>STATE_ERROR</th> 72<td>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.</td> 73 </tr> 74 <tr> 75<th>STATE_MAX</th> 76 <td> 77 </td> 78 </tr> 79 <tr> 80<th>STATE_MAX_BIT</th> 81 <td> 82 </td> 83 </tr> 84 </table> </div> 85<h2>Description</h2> 86 <div class="section"> 87<p>Enumerated type representing UDS states.</p><!-- write here --></div> 88<h2>Revision History</h2> 89 <div class="section"> 90 <dl class="history"> 91 <dt>2010/06/14</dt> 92<dd>Initial version.<br /> 93 </dd> 94 </dl> 95 </div> 96 <hr><p>CONFIDENTIAL</p></body> 97</html>