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/APS/include/private/apsGroup.h | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h (limited to 'digital/zigbit/bitcloud/stack/Components/APS/include/private/apsGroup.h') 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 +#include + +#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 */ -- cgit v1.2.3