# znp_simple_app_utils.h File Reference

public methods for znp_simple_app_utils.c More...

## Defines
#define | STATE_IDLE 1
#define | STATE_ZNP_STARTUP 2
#define | STATE_DISPLAY_NETWORK_INFORMATION 3
#define | STATE_SEND_INFO_MESSAGE 4
## Functions
signed int | startZnp (unsigned char deviceType)

## Detailed Description

public methods for znp_simple_app_utils.c

Rev
  593

Author
  dsmith

Date
  2010-06-14 13:04:10 -0700 (Mon, 14 Jun 2010)

YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.

## Function Documentation

signed int startZnp | ( | unsigned char | deviceType | ) |

Attempts to start the ZNP.

Parameters:

  | the | type of device we're starting, e.g. ROUTER

Postcondition:
  znpResult contains the ZNP library error code, if any.

Returns:
  ZNP_SUCCESS if successful, else an error code indicating where it failed.

See also:
  Communications Examples for more information about each of these steps.

All Data Structures Files Functions Variables Defines