1.. _bluetooth_mesh_od_cli:
2
3On-Demand Private Proxy Client
4##############################
5
6The On-Demand Private Proxy Client model is a foundation model defined by the Bluetooth Mesh
7specification. The model is optional, and is enabled with the
8:kconfig:option:`CONFIG_BT_MESH_OD_PRIV_PROXY_CLI` option.
9
10The On-Demand Private Proxy Client model was introduced in the Bluetooth Mesh Protocol Specification
11version 1.1, and is used to set and retrieve the On-Demand Private GATT Proxy state. The state
12defines how long a node will advertise Mesh Proxy Service with Private Network Identity type after
13it receives a Solicitation PDU.
14
15The On-Demand Private Proxy Client model communicates with an On-Demand Private Proxy Server model
16using the device key of the node containing the target On-Demand Private Proxy Server model
17instance.
18
19If present, the On-Demand Private Proxy Client model must only be instantiated on the primary
20element.
21
22Configurations
23**************
24
25The On-Demand Private Proxy Client model behavior can be configured with the transmission timeout
26option :kconfig:option:`CONFIG_BT_MESH_OD_PRIV_PROXY_CLI_TIMEOUT`.  The
27:kconfig:option:`CONFIG_BT_MESH_OD_PRIV_PROXY_CLI_TIMEOUT` controls how long the Client waits for a
28state response message to arrive in milliseconds. This value can be changed at runtime using
29:c:func:`bt_mesh_od_priv_proxy_cli_timeout_set`.
30
31
32API reference
33*************
34
35.. doxygengroup:: bt_mesh_od_priv_proxy_cli
36   :project: Zephyr
37   :members:
38