nRF5 SDK for Mesh v3.2.0  08c60f6
GATT runtime configuration options (experimental)


 Proxy entry ID.


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.

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.
[in]enabledSet to true to enable the Proxy state, false otherwise.
Return values
NRF_SUCCESSSuccessfully started advertisements.
NRF_ERROR_INVALID_STATEIn an invalid for enabling the proxy state.

◆ mesh_opt_gatt_proxy_get()

uint32_t mesh_opt_gatt_proxy_get ( bool *  p_enabled)

Gets the (GATT) Proxy state.

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