From 22abd06132445a55a1a0266897920f26634825c1 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 26 Dec 2012 17:38:10 +0100 Subject: digital/beacon: remove obsolete bitcloud stack --- .../Components/ZCL/include/zclMemoryManager.h | 90 ---------------------- 1 file changed, 90 deletions(-) delete mode 100644 digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclMemoryManager.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclMemoryManager.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclMemoryManager.h b/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclMemoryManager.h deleted file mode 100644 index 46017dc4..00000000 --- a/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclMemoryManager.h +++ /dev/null @@ -1,90 +0,0 @@ -/************************************************************************//** - \file zclMemoryManager.h - - \brief - The header file describes the ZCL Memory Manager interface - - \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: - 27.11.08 A. Potashov - Created. -******************************************************************************/ - -#ifndef _ZCLMEMORYMANAGER_H -#define _ZCLMEMORYMANAGER_H - -/****************************************************************************** - Includes section -******************************************************************************/ -#include -#include -#include -#include -#include -#include - -/****************************************************************************** - Types section -******************************************************************************/ -typedef union -{ - APS_DataReq_t apsDataReq; - APS_DataInd_t apsDataInd; -} ZclMmPrimitive_t; - -typedef struct -{ - TOP_GUARD - uint8_t header[APS_ASDU_OFFSET]; // Auxiliary header (required by stack) - uint8_t asdu[ZCL_MAX_ASDU_SIZE]; // ASDU content -#if (APS_AFFIX_LENGTH - APS_ASDU_OFFSET) - uint8_t footer[APS_AFFIX_LENGTH - APS_ASDU_OFFSET]; //Auxiliary footer (required by stack) -#endif - BOTTOM_GUARD -} ZclMmFrame_t; - -typedef enum -{ - ZCL_MM_BUFFER_FREE = 0x00, - ZCL_MM_BUFFER_BUSY = 0x01 -} ZclMmBufferBusy_t; - -typedef struct -{ - ZclMmPrimitive_t primitive; - ZclMmFrame_t frame; -} ZclMmBuffer_t; - -typedef struct -{ - uint8_t busy; //ZclMmBufferBusy_t should be used - ZclMmBuffer_t buf; -} ZclMmBufferDescriptor_t; - -/****************************************************************************** - Prototypes section -******************************************************************************/ -/*************************************************************************//** -\brief Looks for and return free zcl memory buffer - -\return pointer to memory buffer or NULL if there is no free buffer. -*****************************************************************************/ -ZclMmBuffer_t *zclMmGetMem(void); - -/*************************************************************************//** -\brief Makes free zcl busy buffer - -\param[in] mem - pointer to used zcl buffer -*****************************************************************************/ -void zclMmFreeMem(ZclMmBuffer_t *mem); - -#endif //#ifndef _ZCLMEMORYMANAGER_H - - -//eof zclMemoryManager.h -- cgit v1.2.3