Configuration options for the core mesh. More...
Data Structures | |
struct | nrf_mesh_opt_t |
Options structure. More... | |
Macros | |
#define | NRF_MESH_OPT_PROV_START 200 |
Start of provisioning parameters. More... | |
#define | NRF_MESH_OPT_TRS_START 300 |
Start of transport layer parameters. More... | |
#define | NRF_MESH_OPT_NET_START 400 |
Start of network layer parameters. More... | |
Enumerations | |
enum | nrf_mesh_opt_id_t { NRF_MESH_OPT_PROV_ECDH_OFFLOADING = NRF_MESH_OPT_PROV_START, NRF_MESH_OPT_TRS_SAR_RX_TIMEOUT = NRF_MESH_OPT_TRS_START, NRF_MESH_OPT_TRS_SAR_RX_ACK_TIMEOUT_BASE, NRF_MESH_OPT_TRS_SAR_RX_ACK_TIMEOUT_PER_HOP_ADDITION, NRF_MESH_OPT_TRS_SAR_TX_RETRY_TIMEOUT_BASE, NRF_MESH_OPT_TRS_SAR_TX_RETRY_TIMEOUT_PER_HOP_ADDITION, NRF_MESH_OPT_TRS_SAR_TX_RETRIES, NRF_MESH_OPT_TRS_SAR_SEGACK_TTL, NRF_MESH_OPT_TRS_SZMIC, NRF_MESH_OPT_NET_RELAY_ENABLE = NRF_MESH_OPT_NET_START, NRF_MESH_OPT_NET_RELAY_RETRANSMIT_COUNT, NRF_MESH_OPT_NET_RELAY_RETRANSMIT_INTERVAL_MS, NRF_MESH_OPT_NET_NETWORK_TRANSMIT_COUNT, NRF_MESH_OPT_NET_NETWORK_TRANSMIT_INTERVAL_MS } |
Option ID type. More... | |
Functions | |
uint32_t | nrf_mesh_opt_set (nrf_mesh_opt_id_t id, const nrf_mesh_opt_t *const p_opt) |
Function for setting various nRF Mesh options. More... | |
uint32_t | nrf_mesh_opt_get (nrf_mesh_opt_id_t id, nrf_mesh_opt_t *const p_opt) |
Function for getting various nRF Mesh options. More... | |
Configuration options for the core mesh.
#define NRF_MESH_OPT_PROV_START 200 |
Start of provisioning parameters.
Definition at line 49 of file nrf_mesh_opt.h.
#define NRF_MESH_OPT_TRS_START 300 |
Start of transport layer parameters.
Definition at line 51 of file nrf_mesh_opt.h.
#define NRF_MESH_OPT_NET_START 400 |
Start of network layer parameters.
Definition at line 53 of file nrf_mesh_opt.h.
enum nrf_mesh_opt_id_t |
Option ID type.
Definition at line 61 of file nrf_mesh_opt.h.
uint32_t nrf_mesh_opt_set | ( | nrf_mesh_opt_id_t | id, |
const nrf_mesh_opt_t *const | p_opt | ||
) |
Function for setting various nRF Mesh options.
[in] | id | Identifier for option to set. See nrf_mesh_opt_id_t . |
[in] | p_opt | Pointer to option struct. |
NRF_SUCCESS | Successfully set option. |
uint32_t nrf_mesh_opt_get | ( | nrf_mesh_opt_id_t | id, |
nrf_mesh_opt_t *const | p_opt | ||
) |
Function for getting various nRF Mesh options.
[in] | id | Identifier for option to get. See nrf_mesh_opt_id_t . |
[out] | p_opt | Pointer to option struct. |
NRF_SUCCESS | Successfully retrieved option. |