nRF5 SDK for Mesh v5.0.0
Macros | Functions
GATT runtime configuration options

Runtime configuration for Mesh GATT functionality. More...

Macros

#define MESH_OPT_GATT_PROXY_EID   MESH_OPT_CORE_ID(MESH_OPT_GATT_ID_START + 0)
 Proxy entry ID.
 

Functions

uint32_t mesh_opt_gatt_proxy_set (bool enabled)
 Sets the (GATT) Proxy state. More...
 
uint32_t mesh_opt_gatt_proxy_get (bool *p_enabled)
 Gets the (GATT) Proxy state. More...
 

Detailed Description

Runtime configuration for Mesh GATT functionality.

Function Documentation

◆ mesh_opt_gatt_proxy_set()

uint32_t mesh_opt_gatt_proxy_set ( bool  enabled)

Sets the (GATT) Proxy state.

Note
This only enables the proxy service functionality, to actually start advertising the network ID, calling proxy_start() is required.
If the Node Identity state has previously been enabled, the device will not start to advertise its Network IDs until the Node Identity state has timed out.
Parameters
[in]enabledSet to true to enable the Proxy state, false otherwise.
Return values
NRF_SUCCESSThe Proxy state is successfully set.

◆ mesh_opt_gatt_proxy_get()

uint32_t mesh_opt_gatt_proxy_get ( bool *  p_enabled)

Gets the (GATT) Proxy state.

Parameters
[out]p_enabledPointer to write the current Proxy state.
Return values
NRF_SUCCESSSuccessfully provided the current Proxy state.

Documentation feedback | Developer Zone | Subscribe | Updated