summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.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/zclZllInterPan.h
parent2ba279f4eb2f23fa08a7c13465d16ae6ba5d0f96 (diff)
digital/beacon: add bitcloud stack into common directory digital/zigbit
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.h b/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.h
new file mode 100644
index 00000000..471f8a48
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/ZCL/include/zclZllInterPan.h
@@ -0,0 +1,71 @@
+/**************************************************************************//**
+ \file zclZllInterPan.h
+
+ \brief
+ ZLL Inter-PAN operation interface.
+
+ \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:
+ 17.03.10 A. Taradov - Created.
+******************************************************************************/
+#ifndef _ZCLZLLINTERPAN_H
+#define _ZCLZLLINTERPAN_H
+
+/******************************************************************************
+ Includes section
+******************************************************************************/
+#include <zclZll.h>
+
+/******************************************************************************
+ Definitions section
+******************************************************************************/
+
+/******************************************************************************
+ Types section
+******************************************************************************/
+typedef struct _ZCL_ZllInterPanStartConf_t
+{
+ ZCL_ZllStatus_t status;
+} ZCL_ZllInterPanStartConf_t;
+
+typedef struct _ZCL_ZllInterPanStartReq_t
+{
+ ZCL_ZllInterPanStartConf_t confirm;
+ void (*ZCL_ZllInterPanStartConf)(ZCL_ZllInterPanStartConf_t *conf);
+} ZCL_ZllInterPanStartReq_t;
+
+/******************************************************************************
+ Prototypes section
+******************************************************************************/
+
+/**************************************************************************//**
+\brief Reset ZLL Inter-PAN module
+******************************************************************************/
+void ZCL_ZllInterPanReset(void);
+
+/**************************************************************************//**
+\brief Prepare stack for Inter-PAN operation
+
+The function prepares the device for Inter-PAN communication. It is required
+for starting network scan (invoked by the ZCL_ZllScanReq() function).
+
+The function is executed asynchronously. Invocation of the callback function
+provided in the \c req->ZCL_ZllInterPanStartConf field indicates request
+completion. If the request has been successful (the reported status equals
+::ZCL_ZLL_SUCCESS_STATUS) ZigBee network features become unavailable.
+
+To restore normal stack operation, when Inter-PAN data exchange has finished,
+call the ZDO_ResetNetworkReq() function.
+******************************************************************************/
+void ZCL_ZllInterPanStartReq(ZCL_ZllInterPanStartReq_t *req);
+
+#endif // _ZCLZLLINTERPAN_H
+
+// eof zclZllInterPan.h