nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
edrx.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef EDRX_H__
8#define EDRX_H__
9
10#include <modem/lte_lc.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/* Get the eDRX parameters currently provided by the network. */
17int edrx_cfg_get(struct lte_lc_edrx_cfg *edrx_cfg);
18
19/* Set the Paging Time Window (PTW) value to be used with eDRX. */
20int edrx_ptw_set(enum lte_lc_lte_mode mode, const char *ptw);
21
22/* Set the requested eDRX value. */
23int edrx_param_set(enum lte_lc_lte_mode mode, const char *edrx);
24
25/* Request modem to enable or disable use of eDRX. */
26int edrx_request(bool enable);
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* EDRX_H__ */
int edrx_cfg_get(struct lte_lc_edrx_cfg *edrx_cfg)
int edrx_ptw_set(enum lte_lc_lte_mode mode, const char *ptw)
int edrx_request(bool enable)
int edrx_param_set(enum lte_lc_lte_mode mode, const char *edrx)
lte_lc_lte_mode
Definition lte_lc.h:89
Definition lte_lc.h:362