Zephyr API 3.6.99
Loading...
Searching...
No Matches
proxy.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2017 Intel Corporation
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_PROXY_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_PROXY_H_
12
13#include <stdint.h>
14
15#include <zephyr/kernel.h>
17
25#ifdef __cplusplus
26extern "C" {
27#endif
28
39 void (*identity_enabled)(uint16_t net_idx);
45 void (*identity_disabled)(uint16_t net_idx);
46};
47
56#define BT_MESH_PROXY_CB_DEFINE(_name) \
57 static const STRUCT_SECTION_ITERABLE( \
58 bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb_, _name))
59
69
79
89
99
114
115#ifdef __cplusplus
116}
117#endif
118
123#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_PROXY_H_ */
int bt_mesh_proxy_connect(uint16_t net_idx)
Allow Proxy Client to auto connect to a network.
int bt_mesh_proxy_identity_enable(void)
Enable advertising with Node Identity.
int bt_mesh_proxy_solicit(uint16_t net_idx)
Schedule advertising of Solicitation PDUs.
int bt_mesh_proxy_disconnect(uint16_t net_idx)
Disallow Proxy Client to auto connect to a network.
int bt_mesh_proxy_private_identity_enable(void)
Enable advertising with Private Node Identity.
Public kernel APIs.
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Callbacks for the Proxy feature.
Definition proxy.h:33
void(* identity_disabled)(uint16_t net_idx)
Stopped sending Node Identity beacons on the given subnet.
Definition proxy.h:45
void(* identity_enabled)(uint16_t net_idx)
Started sending Node Identity beacons on the given subnet.
Definition proxy.h:39