summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h
blob: 843d21af2150b89d635dd108532ba6933ea54ebf (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
/******************************************************************************
  \file tcPromiscuousMode.h

  \brief
    TC Promiscuous mode module interface.

  \author
    Atmel Corporation: http://www.atmel.com \n
    Support email: avr@atmel.com

  Copyright (c) 2010 , Atmel Corporation. All rights reserved.
  Licensed under Atmel's Limited License Agreement (BitCloudTM).

  \internal
   History:
    2010-25-01 arazinkov - Created.
   Last change:
    $Id: tcPromiscuousMode.h 14525 2010-12-23 10:18:45Z arazinkov $
******************************************************************************/

#ifndef _TCPROMISCUOUSMODE_H_
#define _TCPROMISCUOUSMODE_H_

#ifdef _LINK_SECURITY_ 
#ifdef _TC_PROMISCUOUS_MODE_

/******************************************************************************
                              Includes section
******************************************************************************/
#include <types.h>

/******************************************************************************
                              Prototypes section
******************************************************************************/
/**************************************************************************//**
  \brief Forces TC to enter the Promiscuous mode

  \return None.
******************************************************************************/
void TC_EnterPromiscuousMode(void);

/**************************************************************************//**
  \brief Forces TC to leave the Promiscuous mode

  \return None.
******************************************************************************/
void TC_LeavePromiscuousMode(void);

/**************************************************************************//**
  \brief Checks, if TC is in the Promiscuous mode

  \return True, if TC is in the Promiscuous mode, False - otherwise
******************************************************************************/
bool TC_IsPromiscuousMode(void);

#endif /* _LINK_SECURITY_ */

#endif /* _TC_PROMISCUOUS_MODE_ */
#endif /* _TCPROMISCUOUSMODE_H_ */