Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
nrf24l01p_ng_constants.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
17
#ifndef NRF24L01P_NG_CONSTANTS_H
18
#define NRF24L01P_NG_CONSTANTS_H
19
20
#include "
nrf24l01p_ng.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#define NRF24L01P_NG_MAX_PAYLOAD_WIDTH (32)
31
36
#define NRF24L01P_NG_MAX_RETRANSMISSIONS (15)
37
41
#define NRF24L01P_NG_BASE_FRQ_MHZ (2400)
42
46
#define NRF24L01P_NG_MAX_FRQ_MHZ (2525)
47
62
#define NRF24L01P_NG_NUM_CHANNELS (NRF24L01P_NG_MAX_FRQ_MHZ - \
63
NRF24L01P_NG_BASE_FRQ_MHZ)
64
68
#define NRF24L01P_NG_DEFAULT_TX_ADDR { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
69
73
#define NRF24L01P_NG_DEFAULT_ADDR_P0 { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
74
78
#define NRF24L01P_NG_DEFAULT_ADDR_P1 { 0xC2, 0xC2, 0xC2, 0xC2, 0xC2 }
79
83
#define NRF24L01P_NG_DEFAULT_ADDR_P2 (0xC3)
84
88
#define NRF24L01P_NG_DEFAULT_ADDR_P3 (0xC4)
89
93
#define NRF24L01P_NG_DEFAULT_ADDR_P4 (0xC5)
94
98
#define NRF24L01P_NG_DEFAULT_ADDR_P5 (0xC6)
99
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
/* NRF24L01P_NG_CONSTANTS_H */
nrf24l01p_ng.h
Public interface for NRF24L01+ (NG) devices.
Generated on Fri Nov 15 2024 22:46:37 by
1.9.8