summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h b/digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h
new file mode 100644
index 00000000..6b87b025
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h
@@ -0,0 +1,59 @@
+/*****************************************************************************
+ \file nwkDirectJoin.h
+
+ \brief Interface of directly join another device to network.
+
+ \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:
+ 2010-03-17 I.Vagulin - Created.
+ Last change:
+ $Id: nwkDirectJoin.h 17448 2011-06-09 13:53:59Z ataradov $
+ ******************************************************************************/
+#if !defined _NWK_DIRECT_JOIN_H
+#define _NWKDIRECTJOIN_H
+
+/******************************************************************************
+ Includes section
+ ******************************************************************************/
+#include <nwkConfig.h>
+#include <queue.h>
+
+/******************************************************************************
+ Types section
+ ******************************************************************************/
+/** Direct join memory */
+typedef struct _NwkDirectJoin_t
+{
+ /** Request queue */
+ QueueDescriptor_t queue;
+} NwkDirectJoin_t;
+
+/******************************************************************************
+ Prototypes section
+ ******************************************************************************/
+#if (defined(_ROUTER_) || defined(_COORDINATOR_)) && defined(_NWK_DIRECT_JOIN_)
+/**************************************************************************//**
+ \brief Reseting of the direct join module.
+ ******************************************************************************/
+NWK_PRIVATE void nwkResetDirectJoin(void);
+
+/**************************************************************************//**
+ \brief task handler of diret join module
+ ******************************************************************************/
+NWK_PRIVATE void nwkDirectJoinTaskHandler(void);
+#else
+
+#define nwkResetDirectJoin() (void)0
+#define nwkDirectJoinTaskHandler NULL
+
+#endif /* _NWK_DIRECT_JOIN_ and (_ROUTER_ or _COORDINATOR_) */
+#endif /* _NWK_DIRECT_JOIN_H */
+/** eof nwkDirectJoin.h */
+