From b24866225a6301d3a663f874725e83c012dc25d3 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 26 Dec 2012 17:36:00 +0100 Subject: digital/beacon: add bitcloud stack into common directory digital/zigbit --- .../Components/NWK/include/private/nwkDirectJoin.h | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h (limited to 'digital/zigbit/bitcloud/stack/Components/NWK/include/private/nwkDirectJoin.h') 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 +#include + +/****************************************************************************** + 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 */ + -- cgit v1.2.3