Select one of the symbols to view example projects that use it.
 
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...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/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 310 defines struct bt_mesh_net; #ifdef __cplusplus }{...} #endif /* ... */ #endif /* _MESH_H_ */
Details