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 --- .../Security/TrustCentre/include/tcKeyUpdate.h | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/tcKeyUpdate.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/tcKeyUpdate.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/tcKeyUpdate.h b/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/tcKeyUpdate.h new file mode 100644 index 00000000..ce0d2ca7 --- /dev/null +++ b/digital/beacon/src/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