summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcKeyUpdate.h
blob: ce0d2ca71f2f7c6a85a940eb8280d2bad01cd360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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 <types.h>
#include <tcCommon.h>
#include <tcKeyUpdate.h>

/******************************************************************************
                             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