summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.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/ZCL/include/zclInt.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.h b/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.h
new file mode 100644
index 00000000..d984f38f
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclInt.h
@@ -0,0 +1,46 @@
+/************************************************************************//**
+ \file zcl.h
+
+ \brief
+ The header file describes internal ZCL interface
+
+ The header file describes internal ZCL interface and types
+
+ \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:
+ 09.12.08 I. Fedina - Created.
+******************************************************************************/
+
+#ifndef _ZCLINT_H
+#define _ZCLINT_H
+
+#include <zcl.h>
+#include <clusters.h>
+
+BEGIN_PACK
+typedef struct PACK
+{
+ uint8_t status;
+ ZCL_AttributeId_t id;
+ uint8_t type;
+ uint8_t value[1];
+} ZclReadAttributeResp_t;
+
+typedef struct PACK
+{
+ uint8_t status;
+ ZCL_AttributeId_t id;
+} ZclWriteAttributeResp_t;
+END_PACK
+
+uint8_t zclGetSequenceNumber(Endpoint_t endpointId);
+ZclAttribute_t *zclGetNextAttribute(Endpoint_t endpoint, ClusterId_t clusterId, uint8_t direction, ZclAttribute_t *currentAttribute);
+
+#endif // _ZCL_INT_H