summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-12-26 17:36:00 +0100
committerFlorent Duchon2013-02-13 21:21:12 +0100
commitb24866225a6301d3a663f874725e83c012dc25d3 (patch)
treeca527a2aab9abcdfbaf244c53ca63f0c531892b0 /digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/MAC_PHY/include/macCommStatus.h64
1 files changed, 64 insertions, 0 deletions
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 <macAddr.h>
+#include <macCommon.h>
+
+/******************************************************************************
+ 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