summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h b/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h
deleted file mode 100644
index 95ab7eba..00000000
--- a/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsRequestKey.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/**************************************************************************//**
- \file apsRequestKey.h
-
- \brief Private interface of APS Request Key.
-
- \author
- Atmel Corporation: http://www.atmel.com \n
- Support email: avr@atmel.com
-
- Copyright (c) 2008 , Atmel Corporation. All rights reserved.
- Licensed under Atmel's Limited License Agreement (BitCloudTM).
-
- \internal
- History:
- 2011-06-04 Max Gekk - Created.
- Last change:
- $Id: apsRequestKey.h 19032 2011-10-27 09:22:49Z mgekk $
- ******************************************************************************/
-#if !defined _APS_REQUEST_KEY_H
-#define _APS_REQUEST_KEY_H
-
-#if defined _SECURITY_ && defined _LINK_SECURITY_
-/******************************************************************************
- Includes section
- ******************************************************************************/
-#include <apsmeTransportKey.h>
-#include <apsCommand.h>
-
-/******************************************************************************
- Types section
- ******************************************************************************/
-BEGIN_PACK
-/* Request-Key Command Frame Format. See ZigBee spec r19, Figure 4.14. */
-typedef struct PACK _ApsRequestKeyFrame_t
-{
- /** An APS header, which comprises frame control and addressing information. */
- ApduCommandHeader_t header;
- /* The key type field shall be set to 1 when the network key is being
- * requested, shall be set to 2 when an application key is being requested.
- * See ZigBee spec r19, 4.4.9.5.2, page 483. */
- uint8_t keyType;
- /* When the key type field is 2 (that is, an application key), the partner
- * address field shall contain the extended 64-bit address of the partner
- * device that shall be sent the key. See ZigBee spec r19, 4.4.9.5.3 */
- uint8_t partnerAddress[sizeof(ExtAddr_t)];
-} ApsRequestKeyFrame_t;
-END_PACK
-
-/******************************************************************************
- Prototypes section
- ******************************************************************************/
-/**************************************************************************//**
- \brief Reset the internal queue and variables of APS Request Key component.
- ******************************************************************************/
-APS_PRIVATE void apsRequestKeyReset(void);
-
-/**************************************************************************//**
- \brief Transport key has been received, indicate to the upper-layer.
-
- \param[in] transportKeyInd - pointer to parameters of received key.
- \return None.
- ******************************************************************************/
-APS_PRIVATE void apsRequestedKeyReceived(APS_TransportKeyInd_t *transportKeyInd);
-
-/**************************************************************************//**
- \brief Request key 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 apsRequestKeyInd(const ApsCommandInd_t *const commandInd);
-
-#else
-#define apsRequestKeyInd NULL
-#define apsRequestedKeyReceived(transportKeyInd) ((void)0)
-#endif /* _SECURITY_ and _LINK_SECURITY_ */
-
-#endif /* _APS_REQUEST_KEY_H */