summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-12-26 17:36:00 +0100
committerFlorent Duchon2013-02-13 21:21:12 +0100
commitb24866225a6301d3a663f874725e83c012dc25d3 (patch)
treeca527a2aab9abcdfbaf244c53ca63f0c531892b0 /digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h b/digital/zigbit/bitcloud/stack/Components/NWK/include/nwk.h
new file mode 100644
index 00000000..94f82a6c
--- /dev/null
+++ b/digital/zigbit/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 */
+