summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.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/APS/include/private/apsGroup.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h b/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h
new file mode 100644
index 00000000..022e23c6
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h
@@ -0,0 +1,66 @@
+/**************************************************************************//**
+ \file apsGroup.h
+
+ \brief Interface of APS Multicast Transmission.
+
+ \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-10-12 Max Gekk - Created.
+ Last change:
+ $Id: apsGroup.h 17448 2011-06-09 13:53:59Z ataradov $
+ ******************************************************************************/
+#if !defined _APS_GROUP_H
+#define _APS_GROUP_H
+
+/******************************************************************************
+ Includes section
+ ******************************************************************************/
+#include <aps.h>
+#include <apsMemoryManager.h>
+
+#if defined _APS_MULTICAST_
+/******************************************************************************
+ Prototypes section
+ ******************************************************************************/
+/*****************************************************************************
+ \brief Group indication (APSDE-DATA.indication) to all group members.
+
+ \param[in] apsDataInd - pointer to APSDE-DATA.indication's parameters.
+ \return None.
+ *****************************************************************************/
+APS_PRIVATE void apsGroupIndication(APS_DataInd_t *const apsDataInd);
+
+/*****************************************************************************
+ \brief Process multicast packets from NWK layer.
+
+ \param[in] nwkDataInd - pointer to NLDE-DATA.indication parameters.
+ \param[in] securityStatus - kind of used security.
+
+ \return true - response for NWK_DataInd requered,
+ false - response for NWK_DataInd not required
+ and will be made in the future.
+ *****************************************************************************/
+APS_PRIVATE bool apsGroupPacketHandler(const NWK_DataInd_t *const nwkDataInd,
+ const APS_Status_t securityStatus);
+
+/*****************************************************************************
+ \brief Process APSDE-DATA.request with Group Addressing Mode
+
+ \param[in] apsDataReq - pointer to APSDE-DATA.request's parameters
+ \param[in] apsBuffer - pointer to APS buffer with NLDE-DATA.request.
+
+ \return APS_SUCCESS_STATUS
+ *****************************************************************************/
+APS_PRIVATE APS_Status_t apsProcessGroupAddrModeDataReq(APS_DataReq_t *apsDataReq,
+ ApsDataBuffer_t *apsBuffer);
+
+#endif /* _APS_MULTICAST_ */
+#endif /* _APS_GROUP_H */
+/** eof apsGroup.h */