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 --- .../Security/TrustCentre/include/tcKeyUpdate.h | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h (limited to 'digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h') diff --git a/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h b/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h new file mode 100644 index 00000000..ce0d2ca7 --- /dev/null +++ b/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h @@ -0,0 +1,66 @@ +/**************************************************************************//** + \file tcKeyUpdate.h + + \brief Security Trust Centre key update primitive 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: + 2007.12 - ALuzhetsky created. +******************************************************************************/ +#ifndef _TCKEYUPDATEH +#define _TCKEYUPDATEH + +/****************************************************************************** + Includes section. +******************************************************************************/ +#include +#include +#include + +/****************************************************************************** + Types section. +******************************************************************************/ + +/**************************************************************************//** + \brief TBD. + + TBD +******************************************************************************/ +typedef struct +{ + uint8_t status; +} TC_KeyUpdateConf_t; + +/**************************************************************************//** + \brief TBD. + + TBD +******************************************************************************/ +typedef struct +{ + TC_Service_t service; + void (*TC_KeyUpdateConf)(TC_KeyUpdateConf_t *conf); + TC_KeyUpdateConf_t confirm; +} TC_KeyUpdateReq_t; + +/****************************************************************************** + Functions prototypes section. +******************************************************************************/ +/**************************************************************************//** + \brief Peforms trust centre key updating procedure in the network. + + \param reqParam - parameters of operation (for detailed description refer to + TC_KeyUpdateReq_t type declaration). + \return none. +******************************************************************************/ +void TC_KeyUpdateReq(TC_KeyUpdateReq_t *reqParam); + +#endif //_TCKEYUPDATEH +// eof tcKeyUpdate.h -- cgit v1.2.3