summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclZllInterPan.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclZllInterPan.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclZllInterPan.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclZllInterPan.h b/digital/beacon/src/Bitcloud_stack/Components/ZCL/include/zclZllInterPan.h
new file mode 100644
index 00000000..471f8a48
--- /dev/null
+++ b/digital/beacon/src/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