Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS

Proxy. More...

Data Structures

struct  bt_mesh_proxy_cb
 

Macros

#define BT_MESH_PROXY_CB_DEFINE(_name)
 Register a callback structure for Proxy events. More...
 

Functions

int bt_mesh_proxy_identity_enable (void)
 Enable advertising with Node Identity. More...
 

Detailed Description

Proxy.

Macro Definition Documentation

◆ BT_MESH_PROXY_CB_DEFINE

#define BT_MESH_PROXY_CB_DEFINE (   _name)

#include <include/bluetooth/mesh/proxy.h>

Value:
static const STRUCT_SECTION_ITERABLE( \
bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb_, _name))
#define STRUCT_SECTION_ITERABLE(struct_type, name)
Defines a new iterable section.
Definition: common.h:199
Definition: proxy.h:28

Register a callback structure for Proxy events.

Registers a structure with callback functions that gets called on various Proxy events.

Parameters
_nameName of callback structure.

Function Documentation

◆ bt_mesh_proxy_identity_enable()

int bt_mesh_proxy_identity_enable ( void  )

#include <include/bluetooth/mesh/proxy.h>

Enable advertising with Node Identity.

This API requires that GATT Proxy support has been enabled. Once called each subnet will start advertising using Node Identity for the next 60 seconds.

Returns
0 on success, or (negative) error code on failure.