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, 5, 45, 7, 26, 68, 12, 2, 13, 73, 34, 62, 24 45, 25, 77}
00026
00027
00028
00034 #define GZP_CHANNEL_LOW 2
00035
00041 #define GZP_CHANNEL_HIGH 79
00042
00046 #define GZP_ADDRESS 6, 4, 2, 43
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 #define GZP_PARAMS_STORAGE_ADR 0xFC00 // Typical definition for nRF24LE1
00109
00110
00111
00115 #define GZP_DEVICE_PARAMS_STORAGE_SIZE 1024
00116
00117 #endif // GZP_PARAMS_H