ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define _MESH_H_
#include "net.h"
#include "tag.h"
#define BLE_MESH_KEY_PRIMARY
#define BLE_MESH_KEY_ANY
#define BLE_MESH_ADDR_IS_UNICAST
#define BLE_MESH_ADDR_IS_VIRTUAL
#define BLE_MESH_ADDR_IS_GROUP
#define BLE_MESH_ADDR_IS_RFU
#define BLE_MESH_ADDR_IS_FIXED_GROUP
#define BLE_MESH_SUPPORTING_TYPE_FRIEND
#define BLE_MESH_SUPPORTING_TYPE_PROXY
#define BLE_MESH_SUPPORTING_TYPE_SBR
bt_mesh_net
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/bt/esp_ble_mesh/core/mesh.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Bluetooth Mesh */
/*
* SPDX-FileCopyrightText: 2017 Intel Corporation
* SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#ifndef
_MESH_H_
#define
_MESH_H_
#include
"
net.h"
#include
"
tag.h"
#ifdef
__cplusplus
extern
"C"
{
#endif
#define
BLE_MESH_KEY_PRIMARY
0x0000
#define
BLE_MESH_KEY_ANY
0xFFFF
#define
BLE_MESH_ADDR_IS_UNICAST
(
addr
)
(
(
addr
)
&&
(
addr
)
<
0x8000
)
#define
BLE_MESH_ADDR_IS_VIRTUAL
(
addr
)
(
(
addr
)
>=
0x8000
&&
(
addr
)
<
0xC000
)
#define
BLE_MESH_ADDR_IS_GROUP
(
addr
)
(
(
addr
)
>=
0xC000
&&
(
addr
)
<
0xFF00
)
/* Currently not including all-ipt-nodes & all-ipt-border-routers in RFU & fixed group */
#define
BLE_MESH_ADDR_IS_RFU
(
addr
)
(
(
addr
)
>=
0xFF00
&&
(
addr
)
<=
0xFFFA
)
#define
BLE_MESH_ADDR_IS_FIXED_GROUP
(
addr
)
(
(
addr
)
>=
0xFFFB
&&
(
(
addr
)
<
0xFFFF
||
(
addr
)
==
0xFFFF
)
)
#define
BLE_MESH_SUPPORTING_TYPE_FRIEND
1
#define
BLE_MESH_SUPPORTING_TYPE_PROXY
2
#define
BLE_MESH_SUPPORTING_TYPE_SBR
3
10 defines
struct
bt_mesh_net
;
#ifdef
__cplusplus
}
{...}
#endif
/* ... */
#endif
/* _MESH_H_ */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
BLE_MESH_ADDR_IS_UNICAST
BLE_MESH_KEY_ANY
BLE_MESH_ADDR_IS_GROUP
bt_mesh_net
BLE_MESH_KEY_PRIMARY
BLE_MESH_ADDR_IS_VIRTUAL
BLE_MESH_ADDR_IS_RFU
_MESH_H_
BLE_MESH_ADDR_IS_FIXED_GROUP
BLE_MESH_SUPPORTING_TYPE_FRIEND
BLE_MESH_SUPPORTING_TYPE_PROXY
BLE_MESH_SUPPORTING_TYPE_SBR