Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __GZP_PARAMS_H
00015 #define __GZP_PARAMS_H
00016
00017
00018
00019
00020
00025 #define GZP_SECRET_KEY {1, 23, 45, 57, 26, 68, 12, 64, 13, 73, 13, 62, 26, 45, 12, 77}
00026
00027
00028
00034 #define GZP_CHANNEL_LOW 2
00035
00041 #define GZP_CHANNEL_HIGH 79
00042
00046 #define GZP_ADDRESS 4, 6, 8, 10
00047
00051 #define GZP_POWER HAL_NRF_18DBM
00052
00056 #define GZP_REQ_TX_TIMEOUT 200
00057
00061 #define GZP_MAX_BACKOFF_PACKETS 100
00062
00067 #define GZP_TX_ACK_WAIT_TIMEOUT (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + 50)
00068
00073 #define GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT ((GZP_REQ_TX_TIMEOUT / 2) + 50)
00074
00079 #define GZP_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + GZP_STEP1_RX_TIMEOUT)
00080
00085 #define GZP_STEP1_RX_TIMEOUT (((GZP_REQ_TX_TIMEOUT / 2) + GZP_TX_ACK_WAIT_TIMEOUT) + 50)
00086
00090 #define GZP_CHANNEL_MIN 2
00091
00095 #define GZP_CHANNEL_MAX 80
00096
00101 #define GZP_CHANNEL_SPACING_MIN 5
00102
00108 #ifdef EX_PROJ_LE1
00109 #define GZP_PARAMS_STORAGE_ADR 0xFC00
00110 #elif(defined(EX_PROJ_LU1))
00111 #define GZP_PARAMS_STORAGE_ADR (31 * 512)
00112 #else
00113 #error Please define either EX_PROJ_LE1 or EX_PROJ_LU1.
00114 #endif
00115
00119 #define GZP_DEVICE_PARAMS_STORAGE_SIZE 1024
00120
00121 #endif // GZP_PARAMS_H