Home
last modified time | relevance | path

Searched full:proxy (Results 1 – 25 of 134) sorted by relevance

123456

/Zephyr-latest/samples/subsys/zbus/remote_mock/
DREADME.rst37 D: [Mock Proxy] Started.
38 D: [Mock Proxy RX] Started.
39 D: [Mock Proxy RX] Found sentence
76 Proxy PUB [start_measurement] -> start measurement
77 Proxy NOTIFY: [sensor_data] -> sensor value 1
78 Proxy PUB [start_measurement] -> start measurement
79 Proxy NOTIFY: [sensor_data] -> sensor value 2
80 Proxy PUB [start_measurement] -> start measurement
81 Proxy NOTIFY: [sensor_data] -> sensor value 3
82 Proxy PUB [start_measurement] -> start measurement
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dproxy.rst3 Proxy chapter
6 The Proxy feature allows legacy devices like phones to access the Bluetooth Mesh network through
7 GATT. The Proxy feature is only compiled in if the :kconfig:option:`CONFIG_BT_MESH_GATT_PROXY`
8 option is set. The Proxy feature state is controlled by the :ref:`bluetooth_mesh_models_cfg_srv`,
11 Nodes with the Proxy feature enabled can advertise with Network Identity and Node Identity,
14 The GATT Proxy state indicates if the Proxy feature is supported.
16 Private Proxy
19 A node supporting the Proxy feature and the :ref:`bluetooth_mesh_models_priv_beacon_srv` model can
25 The Private GATT Proxy state indicates whether the Private Proxy functionality is supported.
27 Proxy Solicitation
[all …]
Dod_cli.rst3 On-Demand Private Proxy Client
6 The On-Demand Private Proxy Client model is a foundation model defined by the Bluetooth Mesh
10 The On-Demand Private Proxy Client model was introduced in the Bluetooth Mesh Protocol Specification
11 version 1.1, and is used to set and retrieve the On-Demand Private GATT Proxy state. The state
12 defines how long a node will advertise Mesh Proxy Service with Private Network Identity type after
15 The On-Demand Private Proxy Client model communicates with an On-Demand Private Proxy Server model
16 using the device key of the node containing the target On-Demand Private Proxy Server model
19 If present, the On-Demand Private Proxy Client model must only be instantiated on the primary
25 The On-Demand Private Proxy Client model behavior can be configured with the transmission timeout
Dod_srv.rst3 On-Demand Private Proxy Server
6 The On-Demand Private Proxy Server model is a foundation model defined by the Bluetooth Mesh
9 The On-Demand Private Proxy Server model was introduced in the Bluetooth Mesh Protocol Specification
11 node that is a recipient of Solicitation PDUs by managing its On-Demand Private GATT Proxy state.
13 When enabled, the :ref:`bluetooth_mesh_srpl_srv` is also enabled. The On-Demand Private Proxy Server
16 The On-Demand Private Proxy Server does not have an API of its own, and relies on a
17 :ref:`bluetooth_mesh_od_cli` to control it. The On-Demand Private Proxy Server model only accepts
20 If present, the On-Demand Private Proxy Server model must only be instantiated on the primary
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dod_priv_proxy_cli.h17 * @defgroup bt_mesh_od_priv_proxy_cli Bluetooth Mesh On-Demand Private GATT Proxy Client
22 /** On-Demand Private Proxy Client Model Context */
30 /** @brief Optional callback for On-Demand Private Proxy Status messages.
32 * Handles received On-Demand Private Proxy Status messages from a On-Demand Private Proxy
33 * server.The @c state param represents state of On-Demand Private Proxy server.
35 * @param cli On-Demand Private Proxy client that received the status message.
43 * @brief On-Demand Private Proxy Client model composition data entry.
50 /** @brief Get the target's On-Demand Private GATT Proxy state.
61 * @param val_rsp Response buffer for On-Demand Private GATT Proxy value.
67 /** @brief Set the target's On-Demand Private GATT Proxy state.
[all …]
Dproxy.h2 * @brief Proxy APIs.
19 * @brief Proxy
20 * @defgroup bt_mesh_proxy Proxy
29 /** Callbacks for the Proxy feature.
49 * @brief Register a callback structure for Proxy events.
52 * Proxy events.
62 * This API requires that GATT Proxy support has been enabled. Once called
72 * This API requires that GATT Proxy support has been enabled. Once called
80 /** @brief Allow Proxy Client to auto connect to a network.
82 * This API allows a proxy client to auto-connect a given network.
[all …]
Dcfg.h148 /** @brief Get the current Mesh On-Demand Private Proxy state.
150 * @retval 0 or positive value represents On-Demand Private Proxy feature state
151 * @retval -ENOTSUP The On-Demand Private Proxy feature is not supported.
155 /** @brief Set state of Mesh On-Demand Private Proxy.
157 * Support for the On-Demand Private Proxy state must be enabled with @c
160 * @param on_demand_proxy New Mesh On-Demand Private Proxy state. Value of 0x00 means that
165 * @retval 0 Successfully changed the Mesh On-Demand Private Proxy feature state.
166 * @retval -ENOTSUP The On-Demand Private Proxy feature is not supported.
232 /** @brief Enable or disable the GATT Proxy feature.
234 * Support for the GATT Proxy feature must be enabled through the
[all …]
Dpriv_beacon_cli.h68 /** @brief Optional callback for Private GATT Proxy Status message.
70 * Handles received Private GATT Proxy Status messages from a Private Beacon server.
74 * @param gatt_proxy Private GATT Proxy state received from the server.
130 /** @brief Set the target's Private GATT Proxy state.
138 * @param val New Private GATT Proxy value.
146 /** @brief Get the target's Private GATT Proxy state.
150 * @param val Response buffer for Private GATT Proxy value.
Dod_priv_proxy_srv.h17 * @defgroup bt_mesh_od_priv_proxy_srv Bluetooth Mesh On-Demand Private GATT Proxy Server
23 * @brief On-Demand Private Proxy Server model composition data entry.
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/
Dproxy_adv_multi_subnet_coex.sh7 # Test Proxy advertisement Coex
9 # This test verifies correct Proxy advertisement behavior for a device
10 # where the Proxy adv requirements changes over time, both for single
12 # the RX device scans and verifies that the correct proxy adv messages of
15 # Note 1: The maximum allowed timeslot for a subnet to advertise proxy
17 # has active proxy adv work. This is reflected in the scanning criteria
23 # timing for Proxy ADV messages.
25 # Note 3: The proxy transmitting device mandates emitting of the secure
26 # network beacons. This allows to check that proxy goes back to normal
31 # Proxy enabled. RX device verifies that the single subnet has exclusive
Dpriv_proxy_gatt.sh10 # 0. Both TX and RX device disables SNB and GATT proxy, and enables
11 # Private GATT proxy. Test mode for IV update is also enabled on both devices.
12 # 1. The RX device (Proxy CLI) establish a GATT connection to the TX device
13 # (Proxy SRV), using Private Network Identity.
16 # 3. The TX device (Proxy SRV) starts an IV update procedure.
18 # This proves that the RX device (Proxy CLI) successfully received
Dpriv_proxy_net_id_multi.sh10 # 0. TX device disables GATT proxy, adds a second network to the device
11 # and enables Private GATT proxy.
Dpriv_proxy_net_id.sh10 # 0. TX device disables GATT proxy and enables Private GATT proxy.
/Zephyr-latest/samples/net/cloud/mqtt_azure/
DKconfig40 string "Proxy address"
43 Provide proxy address if you are running this application
44 behind proxy.
47 int "Proxy port"
50 Provide proxy port if you are running this application
51 behind proxy.
DREADME.rst54 the sample behind a proxy:
56 - ``SAMPLE_SOCKS_ADDR`` - IP address of SOCKS5 Proxy server
57 - ``SAMPLE_SOCKS_PORT`` - Port number of SOCKS5 Proxy server
85 CONFIG_SAMPLE_SOCKS_ADDR="<proxy addr>"
86 CONFIG_SAMPLE_SOCKS_PORT=<proxy port>
/Zephyr-latest/subsys/net/lib/socks/
DKconfig5 bool "SOCKS5 proxy"
7 Enable SOCKS5 proxy support
13 module-str = Log level for SOCKS proxy
Dsocks.c72 const struct sockaddr *proxy, in socks5_tcp_connect() argument
95 proxy, proxy_len, NULL, K_NO_WAIT, in socks5_tcp_connect()
125 if (proxy->sa_family == AF_INET) { in socks5_tcp_connect()
139 } else if (proxy->sa_family == AF_INET6) { in socks5_tcp_connect()
156 proxy, proxy_len, NULL, K_NO_WAIT, in socks5_tcp_connect()
183 LOG_DBG("Connection through SOCKS5 proxy successful"); in socks5_tcp_connect()
191 struct sockaddr proxy; in net_socks5_connect() local
202 ret = net_context_get_option(ctx, NET_OPT_SOCKS5, &proxy, &proxy_len); in net_socks5_connect()
207 /* Connect to Proxy Server */ in net_socks5_connect()
208 ret = net_context_connect(ctx, &proxy, proxy_len, NULL, in net_socks5_connect()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dsocks5.rst3 SOCKS5 Proxy Support
14 to peer devices via a network proxy.
27 Application wanting to use the SOCKS5 must set the SOCKS5 proxy host address
46 SOCKS5 Proxy Usage in MQTT
50 application can call to setup SOCKS5 proxy. See :zephyr:code-sample:`mqtt-publisher`
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dod_priv_proxy.c36 shell_print(sh, "Unable to send On-Demand Private GATT Proxy Get/Set (err %d)", in cmd_od_priv_gatt_proxy_set()
41 shell_print(sh, "On-Demand Private GATT Proxy is set to 0x%02x", val_rsp); in cmd_od_priv_gatt_proxy_set()
48 SHELL_CMD_ARG(gatt-proxy, NULL, "[Dur(s)]", cmd_od_priv_gatt_proxy_set, 1, 1),
52 "On-Demand Private Proxy Cli commands",
Dpriv_beacon.c68 shell_error(sh, "Failed to send Private GATT Proxy Get (err %d)", err); in cmd_priv_gatt_proxy_get()
72 shell_print(sh, "Private GATT Proxy state: %u", state); in cmd_priv_gatt_proxy_get()
91 shell_error(sh, "Failed to send Private GATT Proxy Set (err %d)", err); in cmd_priv_gatt_proxy_set()
147 SHELL_CMD_ARG(priv-gatt-proxy-get, NULL, NULL, cmd_priv_gatt_proxy_get, 1, 0),
148 SHELL_CMD_ARG(priv-gatt-proxy-set, NULL, "Val(off, on)> ", cmd_priv_gatt_proxy_set,
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/advertiser/
Dproxy_mixin.sh13 # With a separate scanner device, observe GATT Proxy beacons being sent
16 # With the separate scanner, observe that the GATT Proxy beacons are not interrupted.
20 # at least 6 times. Then, observe GATT Proxy beacons resuming.
/Zephyr-latest/subsys/bluetooth/mesh/
Dpriv_beacon_cli.c64 uint8_t proxy; in handle_gatt_proxy_status() local
66 proxy = net_buf_simple_pull_u8(buf); in handle_gatt_proxy_status()
68 if (proxy != BT_MESH_GATT_PROXY_DISABLED && in handle_gatt_proxy_status()
69 proxy != BT_MESH_GATT_PROXY_ENABLED && in handle_gatt_proxy_status()
70 proxy != BT_MESH_GATT_PROXY_NOT_SUPPORTED) { in handle_gatt_proxy_status()
71 LOG_WRN("Invalid GATT proxy value 0x%02x", proxy); in handle_gatt_proxy_status()
77 *rsp = proxy; in handle_gatt_proxy_status()
83 cli->cb->priv_gatt_proxy_status(cli, ctx->addr, proxy); in handle_gatt_proxy_status()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c6 * Proxy Solicitation test
14 #include "mesh/proxy.h"
141 FAIL("Proxy state disable failed (err %d, status %u)", err, status); in iut_configure()
146 FAIL("Private proxy state disable failed (err %d, status %u)", err, status); in iut_configure()
151 FAIL("On-Demand Private Proxy enable failed (err %d, status %u)", err, in iut_configure()
208 "No beacon (proxy advs) reveiced."); in test_tester_beacon_rcvd()
224 "No beacon (proxy advs) reveiced."); in test_tester_immediate_replay_attack()
227 /* Wait for iut proxy advs to time out */ in test_tester_immediate_replay_attack()
257 "No beacon (proxy advs) reveiced."); in test_tester_power_replay_attack()
Dgatt_common.c32 /* mesh proxy service */ in bt_mesh_test_parse_mesh_proxy_service()
35 /* mesh proxy service */ in bt_mesh_test_parse_mesh_proxy_service()
/Zephyr-latest/samples/sensor/apds9960/
DREADME.rst33 proxy without trigger is 115
35 proxy without trigger is 112

123456