summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.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/APS/include/private/apsRemoveDevice.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.h b/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.h
new file mode 100644
index 00000000..7d9bf174
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/APS/include/private/apsRemoveDevice.h
@@ -0,0 +1,61 @@
+/**************************************************************************//**
+ \file apsRemoveDevice.h
+
+ \brief Private interface of APS Remove Device.
+
+ \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:
+ 2011-03-18 A. Razinkov - Created.
+ Last change:
+ $Id: apsRemoveDevice.h 17470 2011-06-10 11:31:00Z mgekk $
+ ******************************************************************************/
+#ifndef _APS_REMOVE_DEVICE_H
+#define _APS_REMOVE_DEVICE_H
+
+#ifdef _SECURITY_
+/******************************************************************************
+ Includes section
+ ******************************************************************************/
+#include <apsCommand.h>
+#include <nwk.h>
+#include <apsFrames.h>
+#include <apsmeRemoveDevice.h>
+
+/******************************************************************************
+ Types section
+ ******************************************************************************/
+BEGIN_PACK
+/** Type of APS remove device command frame. */
+typedef struct PACK _ApsRemoveDeviceFrame_t
+{
+ /** An APS header, which comprises frame control and addressing information. */
+ ApduCommandHeader_t header;
+ /** the 64-bit extended address of the device that is requested to be removed
+ * from the network. */
+ ExtAddr_t childAddress;
+} ApsRemoveDeviceFrame_t;
+END_PACK
+
+/******************************************************************************
+ Prototypes section
+ ******************************************************************************/
+/**************************************************************************//**
+ \brief Remove device indication handler.
+
+ \param[in] commandInd - pointer to received command descriptor.
+
+ \return 'true' if NWK buffer with the command frame must be freed
+ otherwise return 'false'.
+ ******************************************************************************/
+APS_PRIVATE bool apsRemoveDeviceInd(const ApsCommandInd_t *const commandInd);
+
+#endif /* _SECURITY_ */
+#endif /* _APS_REMOVE_DEVICE_H */
+/** eof apsRemoveDevice.h */