nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gzp_config.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef __GZP_CONFIG_H
8#define __GZP_CONFIG_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
19#define GZP_SECRET_KEY {1, 23, 45, 57, 26, 68, 12, 64, 13, 73, 13, 62, 26, 45, 12, 77}
20
21/*---------------------------------------------------------------------------*/
22
28#define GZP_CHANNEL_LOW 2
29
35#define GZP_CHANNEL_HIGH 79
36
40#define GZP_ADDRESS {4, 6, 8, 10}
41
45#define GZP_POWER NRF_GZLL_TX_POWER_N16_DBM
46
50#define GZP_REQ_TX_TIMEOUT 200
51
55#define GZP_MAX_BACKOFF_PACKETS 100
56
61#define GZP_TX_ACK_WAIT_TIMEOUT (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + 50)
62
67#define GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT ((GZP_REQ_TX_TIMEOUT / 2) + 50)
68
73#define GZP_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + \
74 GZP_STEP1_RX_TIMEOUT)
75
80#define GZP_STEP1_RX_TIMEOUT (((GZP_REQ_TX_TIMEOUT / 2) + GZP_TX_ACK_WAIT_TIMEOUT) + 50)
81
85#define GZP_CHANNEL_MIN 2
86
90#define GZP_CHANNEL_MAX 80
91
96#define GZP_CHANNEL_SPACING_MIN 5
97
101#define GZP_MAX_FW_PAYLOAD_LENGTH 17
102
106#define GZP_MAX_ACK_PAYLOAD_LENGTH 10
107
108
109
110#ifdef __cplusplus
111}
112#endif
113
114#endif /* __GZP_CONFIG_H */