From a54ad9edce697133a024aff096e50f7e4f389d5b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 18 Mar 2012 12:22:02 +0100 Subject: digital/beacon: import Zigbit stack (bitcloud) & avr sources --- .../Components/APS/include/private/apsConfig.h | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsConfig.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsConfig.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsConfig.h b/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsConfig.h new file mode 100644 index 00000000..605ac055 --- /dev/null +++ b/digital/beacon/src/Bitcloud_stack/Components/APS/include/private/apsConfig.h @@ -0,0 +1,44 @@ +/**************************************************************************//** + \file apsConfig.h + + \brief Configuration constants and definitions of APS layer. + + \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-07-03 Max Gekk - Created. + Last change: + $Id: apsConfig.h 17801 2011-07-04 08:55:01Z mgekk $ +******************************************************************************/ +#if !defined _APS_CONFIG_H +#define _APS_CONFIG_H + +/****************************************************************************** + Definitions section + ******************************************************************************/ +/* Rejection table timeouts counted in 500ms intervals. + * So we can use narrow data types. */ +#define APS_DUPLICATE_REJECTION_INTERVAL 512U + +#ifdef _APS_FRAGMENTATION_ + #if defined _CERTIFICATION_ + #define APS_INTERFRAME_DELAY (10*HAL_APPTIMERINTERVAL) + #else + #define APS_INTERFRAME_DELAY (HAL_APPTIMERINTERVAL) + #endif +#endif + +/* Random delay for retransmission to decrease amount of collisions */ +#define RETRANSMISSION_RANDOM_DELAY_RANGE 0x1ff + +#define RETRANSMISSION_DELAY_WITH_NO_PHY_ACK 1000U + +#endif /* _APS_CONFIG_H */ +/** eof apsConfig.h */ + -- cgit v1.2.3