Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00018 #ifndef GZLL_PARAMETERS_H__
00019 #define GZLL_PARAMETERS_H__
00020
00021 #define GZLL_DEFAULT_CHANNEL_TAB {3, 23, 40, 61, 75} // [RF channels]
00022 #define GZLL_DEFAULT_CHANNEL_TAB_SIZE 5 // [bytes]
00023
00024 #define GZLL_DEFAULT_ADDRESS_PIPE0 {1, 3, 6, 9, 12}
00025 #define GZLL_DEFAULT_ADDRESS_PIPE1 {2, 6, 8, 10, 12}
00026 #define GZLL_DEFAULT_ADDRESS_PIPE2 3
00027 #define GZLL_DEFAULT_ADDRESS_PIPE3 4
00028 #define GZLL_DEFAULT_ADDRESS_PIPE4 5
00029 #define GZLL_DEFAULT_ADDRESS_PIPE5 6
00030
00031 #define GZLL_DEFAULT_PARAM_DEVICE_MODE 2
00032 #define GZLL_DEFAULT_PARAM_TX_TIMEOUT 0
00033 #define GZLL_DEFAULT_PARAM_TX_ATTEMPTS_PR_CHANNEL_WHEN_SYNC_ON 2
00034 #define GZLL_DEFAULT_PARAM_TX_ATTEMPTS_PR_CHANNEL_WHEN_SYNC_OFF (GZLL_DEFAULT_CHANNEL_TAB_SIZE * 7)
00035
00036 #define GZLL_DEFAULT_PARAM_HOST_MODE 0
00037 #define GZLL_DEFAULT_PARAM_RX_PIPES 0x3f
00038 #define GZLL_DEFAULT_PARAM_CRYPT_PIPES 0x01
00039 #define GZLL_DEFAULT_PARAM_RX_TIMEOUT 0 // [# GZLL_DEFAULT_PARAM_RX_PERIODs]
00040 #define GZLL_DEFAULT_PARAM_RX_PERIOD 1008 // [us]
00041 #define GZLL_DEFAULT_PARAM_RX_PERIOD_MODIFIER 360 // [us]
00042 #define GZLL_DEFAULT_PARAM_RX_CHANNEL_HOLD_PERIODS 0 // [# GZLL_DEFAULT_PARAM_RX_PERIODs]
00043
00044 #define GZLL_DEFAULT_PARAM_OUTPUT_POWER HAL_NRF_0DBM
00045 #define GZLL_DEFAULT_PARAM_POWER_DOWN_IDLE_ENABLE 0
00046 #define GZLL_DEFAULT_PARAM_MAX_SYNC_PERIOD 150 // [# GZLL_DEFAULT_PARAM_RX_PERIODs]
00047 #define GZLL_DEFAULT_PARAM_HOST_MODE_1_CYCLE_PERIOD 100 // [# GZLL_DEFAULT_PARAM_RX_PERIODs]
00048 #define GZLL_DEFAULT_PARAM_COLLISION_CHANNEL_SWITCH_LIMIT 50 // [# Channel switches]
00049
00050 #define GZLL_DEFAULT_AES_KEYS {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}, \
00051 {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32}}
00052
00053
00054 #define GZLL_DATARATE GZLL_DR_2MBPS
00055 #define GZLL_MAX_CHANNEL_TAB_SIZE 16 // [# channels]
00056 #define GZLL_MAX_FW_PAYLOAD_LENGTH 27 // [bytes]
00057 #define GZLL_MAX_ACK_PAYLOAD_LENGTH 10 // [bytes]
00058 #define GZLL_MAX_CRYPT_PIPES 2 // [# pipes]
00059
00060 #endif // GZLL_PARAMETERS_H__