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 --- .../Components/MAC_PHY/include/macCommStatus.h | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h (limited to 'digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h') diff --git a/digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h new file mode 100644 index 00000000..770ab148 --- /dev/null +++ b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h @@ -0,0 +1,64 @@ +/**************************************************************************//** + \file macCommStatus.h + + \brief Types', constants' and functions' declarations for IEEE 802.15.4-2006 + comm status primitives. + + \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: + 18/06/07 ALuzhetsky - Created. +******************************************************************************/ + +#ifndef _MACCOMMSTATUS_H +#define _MACCOMMSTATUS_H + +/****************************************************************************** + Includes section. +******************************************************************************/ +#include +#include + +/****************************************************************************** + Definitions section. +******************************************************************************/ + +/****************************************************************************** + Types section. +******************************************************************************/ + +/** + * \brief MLME-COMM_STATUS indication primitive's parameters. + * IEEE 802.15.4-2006 7.1.12.1 MLME-COMM-STATUS.indication. +*/ +typedef struct +{ + //! The 16-bit PAN identifier of the device from which the frame was received + //! or to which the frame was being sent. + PanId_t panId; + //! The source addressing mode for this primitive. + MAC_AddrMode_t srcAddrMode; + //! The individual device address of the entity from which the frame causing + //! the error originated. + MAC_Addr_t srcAddr; + //! The destination addressing mode for this primitive. + MAC_AddrMode_t dstAddrMode; + //! The individual device address of the device for which the frame was intended. + MAC_Addr_t dstAddr; + //! The communications status. + MAC_Status_t status; +} MAC_CommStatusInd_t; + + +/****************************************************************************** + Prototypes section +******************************************************************************/ +#endif //_MACCOMMSTATUS_H + +// eof macCommStatus.h -- cgit v1.2.3