Runtime configuration for Mesh GATT functionality.
More...
Runtime configuration for Mesh GATT functionality.
◆ 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] | enabled | Set to true to enable the Proxy state, false otherwise. |
- Return values
-
NRF_SUCCESS | The 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_enabled | Pointer to write the current Proxy state. |
- Return values
-
NRF_SUCCESS | Successfully provided the current Proxy state. |