From a54ad9edce697133a024aff096e50f7e4f389d5b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 18 Mar 2012 12:22:02 +0100 Subject: digital/beacon: import Zigbit stack (bitcloud) & avr sources --- .../Bitcloud_stack/Components/NWK/include/nwk.h | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h b/digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h new file mode 100644 index 00000000..94f82a6c --- /dev/null +++ b/digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h @@ -0,0 +1,87 @@ +/**************************************************************************//** + \file nwk.h + + \brief Interface of NWK layer. + + \author + Atmel Corporation: http://www.atmel.com \n + Support email: avr@atmel.com + + Copyright (c) 2008-2011, Atmel Corporation. All rights reserved. + Licensed under Atmel's Limited License Agreement (BitCloudTM). + + \internal + History: + 2009-04-13 Max Gekk - Created. + Last change: + $Id: nwk.h 17448 2011-06-09 13:53:59Z ataradov $ + ******************************************************************************/ +#if !defined _NWK_H +#define _NWK_H + +/****************************************************************************** + Includes section + ******************************************************************************/ +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/** Extra network headers */ +#include +#include +#include +#include +#include +#include + +/****************************************************************************** + Prototypes section + ******************************************************************************/ +/**************************************************************************//** + \brief NWK_Init shall be called only by APS and only once at startup. + + \return None. + ******************************************************************************/ +void NWK_Init(void); + +/**************************************************************************//** + \brief The stack don't sleep if this function return 'true'. + + \return 'true' if the network layer if active otherwise 'false'. + ******************************************************************************/ +bool NWK_IsActiveTransaction(void); + +/**************************************************************************//** + \brief NWK layer activities launching + ******************************************************************************/ +void NWK_LaunchActivities(void); + +/**************************************************************************//** + \brief NWK layer activities stopping + ******************************************************************************/ +void NWK_StopActivities(void); + +/**************************************************************************//** + \brief Determine if node has all the parameters required to operate in network. + + \return True, if node has all the parameters required to operate in network; + false - otherwise. + ******************************************************************************/ +bool NWK_DeviceIsAbleToOperateInNetwork(void); + +#endif /* _NWK_H */ +/** eof nwk.h */ + -- cgit v1.2.3