Zephyr Project API  3.2.0
A Scalable Open Source RTOS
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
20#ifdef __cplusplus
21extern "C" {
22#endif
23
34 void (*identity_enabled)(uint16_t net_idx);
40 void (*identity_disabled)(uint16_t net_idx);
41};
42
51#define BT_MESH_PROXY_CB_DEFINE(_name) \
52 static const STRUCT_SECTION_ITERABLE( \
53 bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb_, _name))
54
64
74
84
85#ifdef __cplusplus
86}
87#endif
88
93#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_disconnect(uint16_t net_idx)
Disallow Proxy Client to auto connect to a network.
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
Definition: proxy.h:28
void(* identity_disabled)(uint16_t net_idx)
Stopped sending Node Identity beacons on the given subnet.
Definition: proxy.h:40
void(* identity_enabled)(uint16_t net_idx)
Started sending Node Identity beacons on the given subnet.
Definition: proxy.h:34