From a54ad9edce697133a024aff096e50f7e4f389d5b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 18 Mar 2012 12:22:02 +0100 Subject: digital/beacon: import Zigbit stack (bitcloud) & avr sources --- .../include/private/tcKeyUpdateHandler.h | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyUpdateHandler.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyUpdateHandler.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyUpdateHandler.h b/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyUpdateHandler.h new file mode 100644 index 00000000..652dd3ec --- /dev/null +++ b/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyUpdateHandler.h @@ -0,0 +1,60 @@ +/**************************************************************************//** + \file tcKeyUpdateHandler.h + + \brief Trust Centre key update routine header file. + + \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: + 2008.01.11 - ALuzhetsky created. +******************************************************************************/ +#ifndef _TCKEYUPDATEHANDLERH +#define _TCKEYUPDATEHANDLERH + +/****************************************************************************** + Includes section. +******************************************************************************/ +#include +#include +#include + +typedef struct +{ + QueueDescriptor_t reqQueueDescr; + APS_KeyHandle_t keyHandle; + void *currentReq; + union + { + APS_TransportKeyReq_t transportKeyReq; + APS_SwitchKeyReq_t switchKeyReq; + HAL_AppTimer_t keyUpdateTimer; + }; +} TcKeyUpdateHandlerMem_t; + +/****************************************************************************** + Functions prototypes section. +******************************************************************************/ +/**************************************************************************//** + \brief TBD. + + \param TBD. + \return TBD. +******************************************************************************/ +void tcKeyUpdateTaskHandler(void); + +/**************************************************************************//** + \brief TBD. + + \param TBD. + \return TBD. +******************************************************************************/ +void tcResetKeyUpdateHandler(void); + +#endif //_TCKEYUPDATEHANDLERH +// eof tcKeyUpdateHandler.h -- cgit v1.2.3