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 --- .../TrustCentre/include/tcPromiscuousMode.h | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h (limited to 'digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h') diff --git a/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h b/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h new file mode 100644 index 00000000..843d21af --- /dev/null +++ b/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/tcPromiscuousMode.h @@ -0,0 +1,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 + +/****************************************************************************** + 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_ */ -- cgit v1.2.3