summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/NWK/include/nwk.h87
1 files changed, 87 insertions, 0 deletions
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 <nwkCommon.h>
+
+#include <nldeData.h>
+#include <nlmeDirectJoin.h>
+#include <nlmeEdScan.h>
+#include <nlmeJoin.h>
+#include <nlmeLeave.h>
+#include <nlmeNetworkDiscovery.h>
+#include <nlmeNetworkFormation.h>
+#include <nlmeNwkStatus.h>
+#include <nlmePermitJoining.h>
+#include <nlmeReset.h>
+#include <nlmeRouteDiscovery.h>
+#include <nlmeStartRouter.h>
+#include <nlmeSync.h>
+#include <nlmeSyncLoss.h>
+
+/** Extra network headers */
+#include <nwkAttributes.h>
+#include <nwkSecurity.h>
+#include <nwkAddressResolv.h>
+#include <nwkNeighbor.h>
+#include <nwkRouteInfo.h>
+#include <nwkGroup.h>
+
+/******************************************************************************
+ 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 */
+