# znp_util_interface.h File Reference

public methods for znp_util_interface.c More...

`#include "znp_commands.h"`

## Functions
unsigned char * | znpGetMacForShort (unsigned int shortAddress)

## Detailed Description

public methods for znp_util_interface.c

Rev
  665

Author
  dsmith

Date
  2010-07-13 20:13:50 -0700 (Tue, 13 Jul 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

unsigned char* znpGetMacForShort | ( | unsigned int | shortAddress | ) |

Uses the UTIL interface to get the long address of a device based on its short address. The device to lookup must either be a parent or child of the ZNP, or have established a binding or application link key.

Note:
  on a trivial network (one coord, one router) this takes approx. 0.4833mSec to complete.

Parameters:

  | shortAddress | the shortAddress to lookup

Returns:
  the long address returned by the ZNP.

All Data Structures Files Functions Variables Defines